summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/chathandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadmanaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/tmwa/chathandler.h')
-rw-r--r--src/net/tmwa/chathandler.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index 82a53d736..7e5ce94a5 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/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 A_CONST;
@@ -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 A_CONST;
+ const bool isPublic) const override final A_CONST;
void ignore(const std::string &nick) const override final;
@@ -74,7 +76,8 @@ class ChatHandler final : public Ea::ChatHandler
const std::string &password) const override final
A_CONST;
- void partChannel(const std::string &channel) override final A_CONST;
+ void partChannel(const std::string &channel) const override final
+ A_CONST;
void talkPet(const std::string &restrict text,
const std::string &restrict channel) const override final;