From 879615bf93c0a4159ca68a1fc07657370c79950d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Oct 2014 15:54:03 +0300 Subject: Add static in chathandler. --- src/net/tmwa/chathandler.cpp | 2 +- src/net/tmwa/chathandler.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/net/tmwa') 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 -- cgit v1.2.3-70-g09d2