summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-20 12:33:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-21 21:09:08 +0300
commit54ee7d240a8ab3a328d0f3f06f3b9627d4727c90 (patch)
treea50136462b44739cecf17c438ed65640d031dbcd /src/net/tmwa
parentc483cf600e74e7d38a7c0cc7d80435e97040c76c (diff)
downloadplus-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/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index a6fb2a95b..753272e4f 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -103,7 +103,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
BLOCK_END("ChatHandler::handleMessage")
}
-void ChatHandler::talk(const std::string &text)
+void ChatHandler::talk(const std::string &text, const std::string &channel)
{
if (!player_node)
return;
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index 5d250af8e..0359e9f13 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/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);