diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-12 21:30:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-12 21:30:45 +0300 |
commit | 395c5bd3ebe27f6dfc4d02c644e3c098caafcb09 (patch) | |
tree | 9d5e34d7d1154d24dd98517f22952b5dfc74c071 /src | |
parent | 09187552601a2b6c26225cf2fa4a700347a02224 (diff) | |
download | manaplus-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.tar.gz manaplus-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.tar.bz2 manaplus-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.tar.xz manaplus-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.zip |
disable server whisper ignores for "new" tmw servers because it was removed.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 4 |
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); } |