summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-12 21:30:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-12 21:30:45 +0300
commit395c5bd3ebe27f6dfc4d02c644e3c098caafcb09 (patch)
tree9d5e34d7d1154d24dd98517f22952b5dfc74c071 /src/net
parent09187552601a2b6c26225cf2fa4a700347a02224 (diff)
downloadManaVerse-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.tar.gz
ManaVerse-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.tar.bz2
ManaVerse-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.tar.xz
ManaVerse-395c5bd3ebe27f6dfc4d02c644e3c098caafcb09.zip
disable server whisper ignores for "new" tmw servers because it was removed.
Diffstat (limited to 'src/net')
-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);
}