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 | |
parent | ace416b6f976eae9e98da768ceb8708d8a0b13a8 (diff) | |
download | ManaVerse-0e879111547b58ea0e05fefcbb6636bed4374589.tar.gz ManaVerse-0e879111547b58ea0e05fefcbb6636bed4374589.tar.bz2 ManaVerse-0e879111547b58ea0e05fefcbb6636bed4374589.tar.xz ManaVerse-0e879111547b58ea0e05fefcbb6636bed4374589.zip |
Add new login return code 10 what mean wrong name.
-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; |