From 0e879111547b58ea0e05fefcbb6636bed4374589 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 11 Jan 2011 23:02:09 +0200 Subject: Add new login return code 10 what mean wrong name. --- src/net/tmwa/loginhandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa') 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; -- cgit v1.2.3-70-g09d2