summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/chathandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 9e5e7b19..155263b5 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -181,6 +181,11 @@ void ChatHandler::handleMessage(MessageIn &msg)
| PlayerRelation::SPEECH_FLOAT);
}
+ // This is a sure sign of some special command of manaplus,
+ // none of those are supported at the moment.
+ if (chatMsg.compare(0, 2, "\302\202") == 0)
+ return;
+
trim(chatMsg);
std::string reducedMessage = chatMsg;