From 107209c0c0bc72e5a07056f37d211539d53016fe Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sun, 24 Apr 2005 13:41:58 +0000 Subject: This should disable ban when using /commands --- src/gui/chat.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 6b8854ca..71cdd25a 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -211,11 +211,13 @@ char *ChatWindow::chat_send(std::string nick, std::string msg) // prepare command if (msg.substr(0, 1) == "/") { // global announcement - if(msg.substr(0, IS_ANNOUNCE_LENGTH) == IS_ANNOUNCE) { + /*if(msg.substr(0, IS_ANNOUNCE_LENGTH) == IS_ANNOUNCE) { msg.erase(0, IS_ANNOUNCE_LENGTH); packid = 0x0099; - } + }*/ // prepare ordinary message + chat_log("Sorry but /commands are not available yet", BY_PLAYER); + return ""; } else { // temporary hack to make messed-up-keyboard-ppl able to send GM commands -- cgit v1.2.3-70-g09d2