summaryrefslogtreecommitdiff
path: root/src/net/eathena/clanrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/clanrecv.cpp')
-rw-r--r--src/net/eathena/clanrecv.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/clanrecv.cpp b/src/net/eathena/clanrecv.cpp
index 57c89419c..acc962c0d 100644
--- a/src/net/eathena/clanrecv.cpp
+++ b/src/net/eathena/clanrecv.cpp
@@ -61,4 +61,15 @@ void ClanRecv::processClanLeave(Net::MessageIn &msg)
UNIMPLEMENTEDPACKET;
}
+void ClanRecv::processClanChat(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ const int chatMsgLength = msg.readInt16("len") - 4 - 24;
+ if (chatMsgLength <= 0)
+ return;
+ msg.readInt16("len");
+ msg.readString(24, "player name");
+ msg.readString(chatMsgLength, "message");
+}
+
} // namespace EAthena