From c657038680882389f5ba6e3d138b2cb11578092b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 Feb 2015 20:43:32 +0300 Subject: eathena: read all bytes from packet SMSG_LOGIN_ERROR2. --- src/net/eathena/loginhandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 8a36a616b..9c5c8ac4b 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -164,6 +164,7 @@ ServerInfo *LoginHandler::getCharServer() const void LoginHandler::processLoginError2(Net::MessageIn &msg) { const uint32_t code = msg.readInt32("error"); + msg.readString(20, "error message"); logger->log("Login::error code: %u", code); switch (code) -- cgit v1.2.3-60-g2f50