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.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index 090435e0e..c7cee6b2e 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -55,6 +55,7 @@ LoginHandler::LoginHandler() :
SMSG_LOGIN_ERROR2,
SMSG_SERVER_VERSION_RESPONSE,
SMSG_UPDATE_HOST,
+ SMSG_LOGIN_CODING_KEY,
0
};
handledMessages = _messages;
@@ -89,6 +90,10 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
processUpdateHost(msg);
break;
+ case SMSG_LOGIN_CODING_KEY:
+ processCondingKey(msg);
+ break;
+
default:
break;
}
@@ -263,6 +268,13 @@ void LoginHandler::processServerVersion(Net::MessageIn &msg)
client->setState(STATE_LOGIN);
}
+void LoginHandler::processCondingKey(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ const int sz = msg.readInt16("len") - 4;
+ msg.readString(sz, "coding key");
+}
+
int LoginHandler::supportedOptionalActions() const
{
return serverFeatures->haveEmailOnRegister()