summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-31 00:35:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:53 +0300
commit86273941131b643ba470a1604e4f2d808306d42c (patch)
treea9fefc41a1bfd1fdd843bb5a8218007af8f2b9ed /src/net/eathena/loginhandler.cpp
parentb2db639b28d2183d18ba189d5b937605e0a73ae1 (diff)
downloadmanaplus-86273941131b643ba470a1604e4f2d808306d42c.tar.gz
manaplus-86273941131b643ba470a1604e4f2d808306d42c.tar.bz2
manaplus-86273941131b643ba470a1604e4f2d808306d42c.tar.xz
manaplus-86273941131b643ba470a1604e4f2d808306d42c.zip
In eathena remove packet SMSG_SERVER_VERSION_RESPONSE.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index 150b47b91..8eb3099af 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -55,7 +55,6 @@ LoginHandler::LoginHandler() :
SMSG_LOGIN_ERROR,
SMSG_LOGIN_ERROR2,
SMSG_CHAR_PASSWORD_RESPONSE,
- SMSG_SERVER_VERSION_RESPONSE,
0
};
handledMessages = _messages;
@@ -94,10 +93,6 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
processLoginError2(msg);
break;
- case SMSG_SERVER_VERSION_RESPONSE:
- processServerVersion(msg);
- break;
-
default:
break;
}
@@ -169,19 +164,6 @@ void LoginHandler::requestUpdateHosts()
outMsg.writeInt8(0); // unused
}
-void LoginHandler::processServerVersion(Net::MessageIn &msg)
-{
- msg.readUInt8();
- msg.readUInt8();
- msg.readUInt8();
- msg.readUInt8();
- msg.readInt32();
- mRegistrationEnabled = true;
- serverVersion = 0;
- if (client->getState() != STATE_LOGIN)
- client->setState(STATE_LOGIN);
-}
-
void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const
{
const int len = msg.readInt16() - 4;