diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/chathandler.h | 14 |
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 |