summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 15:54:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 15:54:03 +0300
commit879615bf93c0a4159ca68a1fc07657370c79950d (patch)
tree779fe86cf943a953997c67c31b11c92df26f2900 /src/net/tmwa
parentc4802097dec05ca39e395e7dba3a55dba70edbe8 (diff)
downloadmanaplus-879615bf93c0a4159ca68a1fc07657370c79950d.tar.gz
manaplus-879615bf93c0a4159ca68a1fc07657370c79950d.tar.bz2
manaplus-879615bf93c0a4159ca68a1fc07657370c79950d.tar.xz
manaplus-879615bf93c0a4159ca68a1fc07657370c79950d.zip
Add static in chathandler.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.h14
2 files changed, 8 insertions, 8 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index b2f14e027..c55089cbc 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -434,7 +434,7 @@ void ChatHandler::processGmChat(Net::MessageIn &msg)
BLOCK_END("ChatHandler::processChat")
}
-void ChatHandler::processWhisper(Net::MessageIn &msg) const
+void ChatHandler::processWhisper(Net::MessageIn &msg)
{
BLOCK_START("ChatHandler::processWhisper")
const int chatMsgLength = msg.readInt16("len") - 28;
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index 791ad11f3..80effa23e 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -81,18 +81,18 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
const std::string &password) const override final;
protected:
- void processChat(Net::MessageIn &msg);
+ static void processChat(Net::MessageIn &msg);
- void processChat2(Net::MessageIn &msg);
+ static void processChat2(Net::MessageIn &msg);
- void processChatContinue(std::string chatMsg,
- const std::string &channel);
+ static void processChatContinue(std::string chatMsg,
+ const std::string &channel);
- void processGmChat(Net::MessageIn &msg);
+ static void processGmChat(Net::MessageIn &msg);
- void processWhisper(Net::MessageIn &msg) const;
+ static void processWhisper(Net::MessageIn &msg);
- void processWhisperResponse(Net::MessageIn &msg);
+ static void processWhisperResponse(Net::MessageIn &msg);
};
} // namespace TmwAthena