diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-13 00:19:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-13 00:19:04 +0300 |
commit | d431a16b6e75232b664a67741898aa8179057c00 (patch) | |
tree | 92586a82f3d891227c3255ba37fe74e39394a516 /src/net/eathena/chathandler.cpp | |
parent | c37ae6c52273c01f634a0635c5255319f385e7fb (diff) | |
download | plus-d431a16b6e75232b664a67741898aa8179057c00.tar.gz plus-d431a16b6e75232b664a67741898aa8179057c00.tar.bz2 plus-d431a16b6e75232b664a67741898aa8179057c00.tar.xz plus-d431a16b6e75232b664a67741898aa8179057c00.zip |
Add special method in charHandler to send message to channel.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index cff13879f..b10224c4a 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -184,6 +184,12 @@ void ChatHandler::privateMessage(const std::string &restrict recipient, mSentWhispers.push(recipient); } +void ChatHandler::channelMessage(const std::string &restrict channel, + const std::string &restrict text) +{ + privateMessage(channel, text); +} + void ChatHandler::who() const { createOutPacket(CMSG_WHO_REQUEST); |