summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-11 23:02:09 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-11 23:02:09 +0200
commit0e879111547b58ea0e05fefcbb6636bed4374589 (patch)
tree5d1cd48470e783cdf0fa9dfd5461f180693e950b /src/net/tmwa/loginhandler.cpp
parentace416b6f976eae9e98da768ceb8708d8a0b13a8 (diff)
downloadmv-0e879111547b58ea0e05fefcbb6636bed4374589.tar.gz
mv-0e879111547b58ea0e05fefcbb6636bed4374589.tar.bz2
mv-0e879111547b58ea0e05fefcbb6636bed4374589.tar.xz
mv-0e879111547b58ea0e05fefcbb6636bed4374589.zip
Add new login return code 10 what mean wrong name.
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r--src/net/tmwa/loginhandler.cpp3
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;