summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/eathena/chathandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
plus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
plus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
plus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/eathena/chathandler.h')
-rw-r--r--src/net/eathena/chathandler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index bb919062e..ed9183465 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -42,10 +42,12 @@ class ChatHandler final : public Ea::ChatHandler
void talkRaw(const std::string &text) const override final;
void privateMessage(const std::string &restrict recipient,
- const std::string &restrict text) override final;
+ const std::string &restrict text) const
+ override final;
void channelMessage(const std::string &restrict channel,
- const std::string &restrict text) override final;
+ const std::string &restrict text) const
+ override final;
void joinChannel(const std::string &channel) override final;
@@ -60,7 +62,7 @@ class ChatHandler final : public Ea::ChatHandler
void createChatRoom(const std::string &title,
const std::string &password,
const int limit,
- const bool isPublic) override final;
+ const bool isPublic) const override final;
void ignore(const std::string &nick) const override final;
@@ -73,7 +75,7 @@ class ChatHandler final : public Ea::ChatHandler
void joinChat(const ChatObject *const chat,
const std::string &password) const override final;
- void partChannel(const std::string &channel) override final;
+ void partChannel(const std::string &channel) const override final;
void talkPet(const std::string &restrict text,
const std::string &restrict channel) const override final;