summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-24 20:43:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-24 20:43:32 +0300
commitc657038680882389f5ba6e3d138b2cb11578092b (patch)
treecec9e224e003a17f2e0ec3f3238ba8096356ac8e /src
parenta83d09446463533ec68bc3a191edf80afc2aa975 (diff)
downloadplus-c657038680882389f5ba6e3d138b2cb11578092b.tar.gz
plus-c657038680882389f5ba6e3d138b2cb11578092b.tar.bz2
plus-c657038680882389f5ba6e3d138b2cb11578092b.tar.xz
plus-c657038680882389f5ba6e3d138b2cb11578092b.zip
eathena: read all bytes from packet SMSG_LOGIN_ERROR2.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/loginhandler.cpp1
1 files changed, 1 insertions, 0 deletions
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)