summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
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;