summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 6a005fedd..85c869a87 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -65,7 +65,7 @@ ChatHandler::ChatHandler() :
SMSG_WHISPER_RESPONSE,
SMSG_GM_CHAT,
SMSG_GM_CHAT2,
- SMSG_MVP, // MVP
+ SMSG_MVP,
SMSG_IGNORE_ALL_RESPONSE,
SMSG_COLOR_MESSAGE,
SMSG_CHAT_IGNORE_LIST,
@@ -76,6 +76,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_JOIN_ACK,
SMSG_CHAT_LEAVE,
SMSG_CHAT_JOIN_CHANNEL,
+ SMSG_IGNORE_NICK_ACK,
0
};
handledMessages = _messages;
@@ -156,6 +157,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processJoinChannel(msg);
break;
+ case SMSG_IGNORE_NICK_ACK:
+ processIgnoreNickAck(msg);
+ break;
+
default:
break;
}
@@ -297,6 +302,13 @@ void ChatHandler::unIgnore(const std::string &nick) const
outMsg.writeInt8(1, "flag");
}
+void ChatHandler::processIgnoreNickAck(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("type");
+ msg.readUInt8("flag");
+}
+
void ChatHandler::requestIgnoreList() const
{
createOutPacket(CMSG_REQUEST_IGNORE_LIST);