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.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index dd232305c..07d57dcd0 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -82,6 +82,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_JOIN_FAILED,
SMSG_CHAT_ADD_MEMBER,
SMSG_CHAT_SETTINGS,
+ SMSG_CHAT_ROLE_CHANGE,
0
};
handledMessages = _messages;
@@ -186,6 +187,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processChatSettings(msg);
break;
+ case SMSG_CHAT_ROLE_CHANGE:
+ processChatRoleChange(msg);
+ break;
+
default:
break;
}
@@ -833,4 +838,11 @@ void ChatHandler::processChatSettings(Net::MessageIn &msg)
msg.readString(sz, "title");
}
+void ChatHandler::processChatRoleChange(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("role");
+ msg.readString(24, "name");
+}
+
} // namespace EAthena