From 395c5bd3ebe27f6dfc4d02c644e3c098caafcb09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Sep 2013 21:30:45 +0300 Subject: disable server whisper ignores for "new" tmw servers because it was removed. --- src/net/tmwa/chathandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/tmwa/chathandler.cpp') 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); } -- cgit v1.2.3-60-g2f50