summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-01-03 16:14:06 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-01-03 16:14:06 +0000
commit08310d2bad4f7d2f00ef506630a350bff2f4a951 (patch)
tree2826f4d9796178f785c6e6f2f6aa2e32609c9394 /src/gui/login.cpp
parent8cbb88a3317386ccccfed5cee02050c731bf26d5 (diff)
downloadmana-08310d2bad4f7d2f00ef506630a350bff2f4a951.tar.gz
mana-08310d2bad4f7d2f00ef506630a350bff2f4a951.tar.bz2
mana-08310d2bad4f7d2f00ef506630a350bff2f4a951.tar.xz
mana-08310d2bad4f7d2f00ef506630a350bff2f4a951.zip
Really disabled /commands and added proper message when logging in and banned.
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index b24c4629..13908bf9 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -325,9 +325,15 @@ LoginDialog::checkLogin()
case 4:
errorMessage = "You have been blocked by the GM Team";
break;
+ case 6:
+ errorMessage = "You have been banned for 5 minutes";
+ break;
case 9:
errorMessage = "This account is already logged in";
break;
+ default:
+ errorMessage = "Unknown error";
+ break;
}
skip(msg.getLength());
state = ERROR_STATE;