diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-11 23:02:09 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-11 23:02:09 +0200 |
commit | 0e879111547b58ea0e05fefcbb6636bed4374589 (patch) | |
tree | 5d1cd48470e783cdf0fa9dfd5461f180693e950b /src | |
parent | ace416b6f976eae9e98da768ceb8708d8a0b13a8 (diff) | |
download | manaplus-0e879111547b58ea0e05fefcbb6636bed4374589.tar.gz manaplus-0e879111547b58ea0e05fefcbb6636bed4374589.tar.bz2 manaplus-0e879111547b58ea0e05fefcbb6636bed4374589.tar.xz manaplus-0e879111547b58ea0e05fefcbb6636bed4374589.zip |
Add new login return code 10 what mean wrong name.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index 05a28513c..7b3aee361 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -183,6 +183,9 @@ void LoginHandler::handleMessage(Net::MessageIn &msg) case 9: errorMessage = _("This user name is already taken."); break; + case 10: + errorMessage = _("Wrong name."); + break; default: errorMessage = _("Unknown error."); break; |