summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-10 22:02:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-10 22:02:37 +0300
commit4247e05ae8ee9e14323629701c3a11e5c2fac674 (patch)
treecadc54d611b88fa17b4530a4a530965a7817d47a /src/net/eathena/loginhandler.cpp
parentec0159f464cda17f131204a38caa0c5c584fe255 (diff)
downloadmanaverse-4247e05ae8ee9e14323629701c3a11e5c2fac674.tar.gz
manaverse-4247e05ae8ee9e14323629701c3a11e5c2fac674.tar.bz2
manaverse-4247e05ae8ee9e14323629701c3a11e5c2fac674.tar.xz
manaverse-4247e05ae8ee9e14323629701c3a11e5c2fac674.zip
eathnea; add support for update hosts.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index 3332091d1..c36b6a1d1 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -55,6 +55,7 @@ LoginHandler::LoginHandler() :
SMSG_LOGIN_ERROR2,
SMSG_CHAR_PASSWORD_RESPONSE,
SMSG_SERVER_VERSION_RESPONSE,
+ SMSG_UPDATE_HOST,
0
};
handledMessages = _messages;
@@ -89,6 +90,10 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
processServerVersion(msg);
break;
+ case SMSG_UPDATE_HOST:
+ processUpdateHost(msg);
+ break;
+
default:
break;
}