summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-09 18:25:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-09 18:25:11 +0300
commitdaf4e4c54588704ab0dafc71cb885a8c0717c740 (patch)
treedb9c552fd5037f26e81189f4c337590850a7fc7f /src/net
parent845a02e65d8077f4079724a106f75470984df8d2 (diff)
downloadplus-daf4e4c54588704ab0dafc71cb885a8c0717c740.tar.gz
plus-daf4e4c54588704ab0dafc71cb885a8c0717c740.tar.bz2
plus-daf4e4c54588704ab0dafc71cb885a8c0717c740.tar.xz
plus-daf4e4c54588704ab0dafc71cb885a8c0717c740.zip
Dont send packet CMSG_WHO_REQUEST on unsupported tmwa versions.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/chathandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 6ab94b792..c372e4305 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -103,6 +103,9 @@ void ChatHandler::channelMessage(const std::string &restrict channel,
void ChatHandler::who() const
{
+ if (tmwServerVersion >= 0x0e0b0b)
+ return;
+
createOutPacket(CMSG_WHO_REQUEST);
}