summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-10-22 10:37:08 +0000
committerDavid Athay <ko2fan@gmail.com>2008-10-22 10:37:08 +0000
commitd242b7ebd7927e8eb447ee866777cf48db15ae0c (patch)
tree4d2d5f9f9374f0036cda6e45665ccfedc9567756 /src/net
parent93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5 (diff)
downloadmana-d242b7ebd7927e8eb447ee866777cf48db15ae0c.tar.gz
mana-d242b7ebd7927e8eb447ee866777cf48db15ae0c.tar.bz2
mana-d242b7ebd7927e8eb447ee866777cf48db15ae0c.tar.xz
mana-d242b7ebd7927e8eb447ee866777cf48db15ae0c.zip
Now displays ban time, if banned
Diffstat (limited to 'src/net')
-rw-r--r--src/net/loginhandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/loginhandler.cpp b/src/net/loginhandler.cpp
index fa74f489..19893a8e 100644
--- a/src/net/loginhandler.cpp
+++ b/src/net/loginhandler.cpp
@@ -110,10 +110,12 @@ void LoginHandler::handleMessage(MessageIn *msg)
errorMessage = "Rejected from server";
break;
case 4:
- errorMessage = "You have been banned from the game. Please contact the GM Team";
+
+ errorMessage = "You have been permanently banned from the game. Please contact the GM Team";
break;
case 6:
- errorMessage = "You have been temporarily banned from the game. Please contact the GM team";
+ errorMessage = "You have been temporarily banned from the game until "
+ + msg->readString(20) + ".\n Please contact the GM team via the forums";
break;
case 9:
errorMessage = "This user name is already taken";