summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/loginhandler.cpp6
-rw-r--r--src/net/eathena/loginhandler.h4
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,