summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 16:54:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 16:54:46 +0300
commit7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (patch)
treed109f74483a9274bca46a41670cc5ec69b50876f /src/net/eathena/chathandler.cpp
parent8aad60beb37fb0f364b0d8ab5bbe66232eacb676 (diff)
downloadmanaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.gz
manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.bz2
manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.xz
manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.zip
Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index df9425b7e..6a005fedd 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -556,6 +556,7 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg)
void ChatHandler::processChatIgnoreList(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
// +++ need put it in some object or window
const int count = (msg.readInt16("len") - 4) / 24;
for (int f = 0; f < count; f ++)
@@ -591,6 +592,7 @@ void ChatHandler::joinChat(const ChatObject *const chat,
void ChatHandler::processChatJoinAck(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
const int count = msg.readInt16("len") - 8;
msg.readInt32("chat id");
for (int f = 0; f < count; f ++)
@@ -602,6 +604,7 @@ void ChatHandler::processChatJoinAck(Net::MessageIn &msg)
void ChatHandler::processChatLeave(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
msg.readInt16("users");
msg.readString(24, "name");
msg.readUInt8("flag"); // 0 - left, 1 - kicked