summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-04-13 22:41:18 -0700
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-14 18:42:13 +0200
commit88b8acf8ad7a63d3a1d278e5c54208aa8c71f249 (patch)
tree6c1d2eab6735888e15cb85ef103982138e430595 /src/net/tmwa/loginhandler.cpp
parente0f4556aba825d63410669ec3a41fbcadd6e86f7 (diff)
downloadmana-88b8acf8ad7a63d3a1d278e5c54208aa8c71f249.tar.gz
mana-88b8acf8ad7a63d3a1d278e5c54208aa8c71f249.tar.bz2
mana-88b8acf8ad7a63d3a1d278e5c54208aa8c71f249.tar.xz
mana-88b8acf8ad7a63d3a1d278e5c54208aa8c71f249.zip
Add missing auth failure reasons
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r--src/net/tmwa/loginhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index e58acb4d..7e654951 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -168,6 +168,9 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
errorMessage = _("You have been permanently banned from "
"the game. Please contact the GM team.");
break;
+ case 5:
+ errorMessage = _("Client too old.");
+ break;
case 6:
errorMessage = strprintf(_("You have been temporarily "
"banned from the game until "
@@ -175,9 +178,15 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
"team via the forums."),
msg.readString(20).c_str());
break;
+ case 7:
+ errorMessage = _("Server overpopulated.");
+ break;
case 9:
errorMessage = _("This user name is already taken.");
break;
+ case 99:
+ errorMessage = _("Username permanently erased.");
+ break;
default:
errorMessage = _("Unknown error.");
break;