diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-09 18:25:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-09 18:25:11 +0300 |
commit | daf4e4c54588704ab0dafc71cb885a8c0717c740 (patch) | |
tree | db9c552fd5037f26e81189f4c337590850a7fc7f /src/net | |
parent | 845a02e65d8077f4079724a106f75470984df8d2 (diff) | |
download | manaverse-daf4e4c54588704ab0dafc71cb885a8c0717c740.tar.gz manaverse-daf4e4c54588704ab0dafc71cb885a8c0717c740.tar.bz2 manaverse-daf4e4c54588704ab0dafc71cb885a8c0717c740.tar.xz manaverse-daf4e4c54588704ab0dafc71cb885a8c0717c740.zip |
Dont send packet CMSG_WHO_REQUEST on unsupported tmwa versions.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 3 |
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); } |