summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-29 12:53:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-29 12:53:28 +0300
commit5ff2a20caeba3a245458adc890b853caf4944992 (patch)
treedbc99b7605c8864194a21c165ed860fa807e4c1b /src/net/eathena/chathandler.cpp
parent6eb5d96b568de3632ba755ff7e794a59083d1f62 (diff)
downloadmanaverse-5ff2a20caeba3a245458adc890b853caf4944992.tar.gz
manaverse-5ff2a20caeba3a245458adc890b853caf4944992.tar.bz2
manaverse-5ff2a20caeba3a245458adc890b853caf4944992.tar.xz
manaverse-5ff2a20caeba3a245458adc890b853caf4944992.zip
eathena: add packet CMSG_KICK_FROM_CHAT_ROOM 0x00e2.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 3fb487a3a..f0587602d 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -965,4 +965,10 @@ void ChatHandler::setChatRoomOwner(const std::string &nick) const
outMsg.writeString(nick, 24, "nick");
}
+void ChatHandler::kickFromChatRoom(const std::string &nick) const
+{
+ createOutPacket(CMSG_KICK_FROM_CHAT_ROOM);
+ outMsg.writeString(nick, 24, "nick");
+}
+
} // namespace EAthena