summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-25 18:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-25 18:13:48 +0300
commitc1657f9dd2099796c6b20b9672d500aee30e205b (patch)
tree07e274728a1ec25c8890abf07ac9943818381c55 /src/net/eathena/chathandler.h
parenta886446d41ed6656afbdd348b6dc6cb617309040 (diff)
downloadplus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.gz
plus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.bz2
plus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.xz
plus-c1657f9dd2099796c6b20b9672d500aee30e205b.zip
Move all receive (process) methods into protected.
Diffstat (limited to 'src/net/eathena/chathandler.h')
-rw-r--r--src/net/eathena/chathandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index a1a86f20e..d934bb203 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -68,9 +68,6 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
const int limit,
const bool isPublic) override final;
- static void processRaw(MessageOut &restrict outMsg,
- const std::string &restrict line);
-
void ignore(const std::string &nick) const override final;
void unIgnore(const std::string &nick) const override final;
@@ -101,6 +98,9 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
protected:
static std::string extractChannelFromMessage(std::string &chatMsg);
+ static void processRaw(MessageOut &restrict outMsg,
+ const std::string &restrict line);
+
static void processChat(Net::MessageIn &msg);
static void processColorChat(Net::MessageIn &msg);