summaryrefslogtreecommitdiff
path: root/src/net/eathena/chatrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/chatrecv.cpp')
-rw-r--r--src/net/eathena/chatrecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp
index 854647749..707012c0f 100644
--- a/src/net/eathena/chatrecv.cpp
+++ b/src/net/eathena/chatrecv.cpp
@@ -325,7 +325,8 @@ void ChatRecv::processWhisperResponse(Net::MessageIn &msg)
BLOCK_START("ChatRecv::processWhisperResponse")
const uint8_t type = msg.readUInt8("response");
- msg.readInt32("unknown");
+ if (msg.getVersion() >= 20131223)
+ msg.readInt32("unknown");
if (type == 1 && chatWindow)
{
const std::string nick = Ea::ChatRecv::getLastWhisperNick();