diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 22:43:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 22:43:13 +0300 |
commit | 73271c8b5e39d01c34064db8a4529e31d36cf0aa (patch) | |
tree | 62889d7fb733f0494317365d7846776b7371fcf7 /src/net/eathena | |
parent | 9a40e1202946e3384500da28668a52d28ad377f4 (diff) | |
download | plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.gz plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.bz2 plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.xz plus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.zip |
Add static in loginhandler.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/loginhandler.h | 4 |
2 files changed, 5 insertions, 5 deletions
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, |