diff options
author | David Athay <ko2fan@gmail.com> | 2008-10-22 10:37:08 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-10-22 10:37:08 +0000 |
commit | d242b7ebd7927e8eb447ee866777cf48db15ae0c (patch) | |
tree | 4d2d5f9f9374f0036cda6e45665ccfedc9567756 /src/net/loginhandler.cpp | |
parent | 93b9bfd3bde24a76bf7ef58b71f0d8757d3b38e5 (diff) | |
download | mana-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/loginhandler.cpp')
-rw-r--r-- | src/net/loginhandler.cpp | 6 |
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"; |