summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 0d677a413..4e33c8f84 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -50,6 +50,7 @@ AdminHandler::AdminHandler() :
static const uint16_t _messages[] =
{
SMSG_ADMIN_KICK_ACK,
+ CMSG_ADMIN_GET_LOGIN_ACK,
0
};
handledMessages = _messages;
@@ -66,6 +67,9 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
else
NotifyManager::notify(NotifyTypes::KICK_SUCCEED);
break;
+ case CMSG_ADMIN_GET_LOGIN_ACK:
+ processAdminGetLoginAck(msg);
+ break;
default:
break;
}
@@ -162,4 +166,10 @@ void AdminHandler::requestLogin(const Being *const being) const
outMsg.writeInt32(being->getId(), "account id");
}
+void AdminHandler::processAdminGetLoginAck(Net::MessageIn &msg)
+{
+ msg.readInt32("account id");
+ msg.readString(24, "login");
+}
+
} // namespace EAthena