summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/loginhandler.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-03 22:48:05 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-03 22:54:04 +0200
commit9d7352022369a04d957028515d2468297422f5e7 (patch)
treec74dd3f18610f004656944e793a93ed08284a7ba /src/net/tmwserv/loginhandler.cpp
parentc18aa95dc6b44337c4ab63d9d892af6eb1f5a679 (diff)
downloadmana-9d7352022369a04d957028515d2468297422f5e7.tar.gz
mana-9d7352022369a04d957028515d2468297422f5e7.tar.bz2
mana-9d7352022369a04d957028515d2468297422f5e7.tar.xz
mana-9d7352022369a04d957028515d2468297422f5e7.zip
Added support for the "too fast" login error
So that next time somebody encounters it, it doesn't turn up as "unknown error".
Diffstat (limited to 'src/net/tmwserv/loginhandler.cpp')
-rw-r--r--src/net/tmwserv/loginhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwserv/loginhandler.cpp b/src/net/tmwserv/loginhandler.cpp
index 81079a3a..645d574c 100644
--- a/src/net/tmwserv/loginhandler.cpp
+++ b/src/net/tmwserv/loginhandler.cpp
@@ -235,6 +235,9 @@ void LoginHandler::handleLoginResponse(MessageIn &msg)
case LOGIN_SERVER_FULL:
errorMessage = _("Server is full.");
break;
+ case LOGIN_INVALID_TIME:
+ errorMessage = _("Too fast after previous login.");
+ break;
default:
errorMessage = _("Unknown error.");
break;