summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-04 16:41:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-04 16:41:09 +0300
commit05a196194b8270c1ae2e63f8ae31f8a492022388 (patch)
treea00c9c9a009d562db1a95b3f8f77428df0169a21 /src/net/ea/chathandler.cpp
parent6f06cd42b8e56aaae2be853a31d73d0115a39c2a (diff)
downloadmv-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.gz
mv-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.bz2
mv-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.xz
mv-05a196194b8270c1ae2e63f8ae31f8a492022388.zip
Show unimplimented packet debug message on each unsupported packets parameters.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 95d05bf1e..a08b2b9e6 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -98,7 +98,8 @@ std::string ChatHandler::getLastWhisperNick()
return nick;
}
-void ChatHandler::processWhisperResponseContinue(const uint8_t type)
+void ChatHandler::processWhisperResponseContinue(Net::MessageIn &msg,
+ const uint8_t type)
{
const std::string nick = getPopLastWhisperNick();
switch (type)
@@ -137,11 +138,7 @@ void ChatHandler::processWhisperResponseContinue(const uint8_t type)
}
break;
default:
- if (logger)
- {
- logger->log("QQQ SMSG_WHISPER_RESPONSE:"
- + toString(type));
- }
+ UNIMPLIMENTEDPACKET;
break;
}
BLOCK_END("ChatHandler::processWhisperResponse")