summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-13 01:39:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-13 01:39:00 +0300
commit9ee88d0b1068599f60710a13551257f044722a9d (patch)
tree71901ea8a5be8d26313b51bfcdb944b80dbe020e /src/net/tmwa
parentd431a16b6e75232b664a67741898aa8179057c00 (diff)
downloadplus-9ee88d0b1068599f60710a13551257f044722a9d.tar.gz
plus-9ee88d0b1068599f60710a13551257f044722a9d.tar.bz2
plus-9ee88d0b1068599f60710a13551257f044722a9d.tar.xz
plus-9ee88d0b1068599f60710a13551257f044722a9d.zip
In chatHandler add function to join channel.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp4
-rw-r--r--src/net/tmwa/chathandler.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 68ceb0d8d..b2f14e027 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -462,4 +462,8 @@ void ChatHandler::joinChat(const ChatObject *const chat A_UNUSED,
{
}
+void ChatHandler::joinChannel(const std::string &channel A_UNUSED)
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index fff0432fe..791ad11f3 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -51,6 +51,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
void channelMessage(const std::string &restrict channel,
const std::string &restrict text) override final;
+ void joinChannel(const std::string &channel) override final;
+
void who() const override final;
void sendRaw(const std::string &args) const;