diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-20 12:33:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-21 21:09:08 +0300 |
commit | 54ee7d240a8ab3a328d0f3f06f3b9627d4727c90 (patch) | |
tree | a50136462b44739cecf17c438ed65640d031dbcd /src/net/eathena | |
parent | c483cf600e74e7d38a7c0cc7d80435e97040c76c (diff) | |
download | plus-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.tar.gz plus-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.tar.bz2 plus-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.tar.xz plus-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.zip |
Send channel name to net code layer.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 3 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 5c4d84753..d6ed2c9be 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -101,7 +101,8 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) } } -void ChatHandler::talk(const std::string &text) +void ChatHandler::talk(const std::string &text, + const std::string &channel A_UNUSED) { if (!player_node) return; diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 022924167..8a278bc29 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -42,7 +42,7 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler void handleMessage(Net::MessageIn &msg); - void talk(const std::string &text); + void talk(const std::string &text, const std::string &channel); void talkRaw(const std::string &text); |