From 73271c8b5e39d01c34064db8a4529e31d36cf0aa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Oct 2014 22:43:13 +0300 Subject: Add static in loginhandler. --- src/net/eathena/loginhandler.cpp | 6 +++--- src/net/eathena/loginhandler.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index f25b9a29c..ed05e2b07 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -67,7 +67,7 @@ void LoginHandler::handleMessage(Net::MessageIn &msg) switch (msg.getId()) { case SMSG_CHAR_PASSWORD_RESPONSE: - procecessCharPasswordResponse(msg); + processCharPasswordResponse(msg); break; case SMSG_LOGIN_DATA: @@ -146,7 +146,7 @@ ServerInfo *LoginHandler::getCharServer() const return &charServer; } -void LoginHandler::processLoginError2(Net::MessageIn &msg) const +void LoginHandler::processLoginError2(Net::MessageIn &msg) { const uint32_t code = msg.readInt32("error"); logger->log("Login::error code: %u", code); @@ -220,7 +220,7 @@ void LoginHandler::processLoginError2(Net::MessageIn &msg) const client->setState(STATE_ERROR); } -void LoginHandler::processUpdateHost2(Net::MessageIn &msg A_UNUSED) const +void LoginHandler::processUpdateHost2(Net::MessageIn &msg A_UNUSED) { } diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index d9b69496b..eda2c809a 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -62,9 +62,9 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler ServerInfo *getCharServer() const override final A_WARN_UNUSED; - void processLoginError2(Net::MessageIn &msg) const; + static void processLoginError2(Net::MessageIn &msg); - void processUpdateHost2(Net::MessageIn &msg) const; + static void processUpdateHost2(Net::MessageIn &msg); private: void sendLoginRegister(const std::string &restrict username, -- cgit v1.2.3-70-g09d2