From daf4e4c54588704ab0dafc71cb885a8c0717c740 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Jun 2016 18:25:11 +0300 Subject: Dont send packet CMSG_WHO_REQUEST on unsupported tmwa versions. --- src/net/tmwa/chathandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2