diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-24 20:43:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-24 20:43:32 +0300 |
commit | c657038680882389f5ba6e3d138b2cb11578092b (patch) | |
tree | cec9e224e003a17f2e0ec3f3238ba8096356ac8e | |
parent | a83d09446463533ec68bc3a191edf80afc2aa975 (diff) | |
download | manaplus-c657038680882389f5ba6e3d138b2cb11578092b.tar.gz manaplus-c657038680882389f5ba6e3d138b2cb11578092b.tar.bz2 manaplus-c657038680882389f5ba6e3d138b2cb11578092b.tar.xz manaplus-c657038680882389f5ba6e3d138b2cb11578092b.zip |
eathena: read all bytes from packet SMSG_LOGIN_ERROR2.
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 1 |
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) |