diff options
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index b10224c4a..ac626fd71 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -517,4 +517,11 @@ void ChatHandler::processChatLeave(Net::MessageIn &msg) msg.readUInt8("flag"); // 0 - left, 1 - kicked } +void ChatHandler::joinChannel(const std::string &channel) +{ + // to join channel need use gm commands or send something. + // here we sending invisible message. + channelMessage(channel, "\302\202G"); +} + } // namespace EAthena |