summaryrefslogtreecommitdiff
path: root/src/net/tmwa/chathandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/chathandler.cpp')
-rw-r--r--src/net/tmwa/chathandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index aeea1b58e..9e1ddcd6d 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -278,12 +278,16 @@ void ChatHandler::processRaw(MessageOut &outMsg, const std::string &line)
void ChatHandler::ignoreAll() const
{
+ if (tmwServerVersion > 0)
+ return;
MessageOut outMsg(CMSG_IGNORE_ALL);
outMsg.writeInt8(0);
}
void ChatHandler::unIgnoreAll() const
{
+ if (tmwServerVersion > 0)
+ return;
MessageOut outMsg(CMSG_IGNORE_ALL);
outMsg.writeInt8(1);
}