summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 22:43:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 22:43:13 +0300
commit73271c8b5e39d01c34064db8a4529e31d36cf0aa (patch)
tree62889d7fb733f0494317365d7846776b7371fcf7 /src/net/tmwa
parent9a40e1202946e3384500da28668a52d28ad377f4 (diff)
downloadmanaplus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.gz
manaplus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.bz2
manaplus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.tar.xz
manaplus-73271c8b5e39d01c34064db8a4529e31d36cf0aa.zip
Add static in loginhandler.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/loginhandler.cpp4
-rw-r--r--src/net/tmwa/loginhandler.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index c58e7687e..75b5dba65 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -75,7 +75,7 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
switch (msg.getId())
{
case SMSG_CHAR_PASSWORD_RESPONSE:
- procecessCharPasswordResponse(msg);
+ processCharPasswordResponse(msg);
break;
case SMSG_UPDATE_HOST:
@@ -241,7 +241,7 @@ void LoginHandler::processServerVersion(Net::MessageIn &msg)
mVersionResponse = true;
}
-void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const
+void LoginHandler::processUpdateHost2(Net::MessageIn &msg)
{
const int len = msg.readInt16("len") - 4;
const std::string updateHost = msg.readString(len, "host");
diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h
index 632f02d62..e147bdc46 100644
--- a/src/net/tmwa/loginhandler.h
+++ b/src/net/tmwa/loginhandler.h
@@ -61,11 +61,11 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler
ServerInfo *getCharServer() const override final A_WARN_UNUSED;
- void processServerVersion(Net::MessageIn &msg);
+ static void processServerVersion(Net::MessageIn &msg);
static void requestUpdateHosts();
- void processUpdateHost2(Net::MessageIn &msg) const;
+ static void processUpdateHost2(Net::MessageIn &msg);
private:
void sendLoginRegister(const std::string &restrict username,