From 976d72a73812224ff43f344299f1de64459b05be Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 20:17:52 +0300 Subject: Fix packet name SMSG_ADMIN_GET_LOGIN_ACK. --- src/net/eathena/adminhandler.cpp | 4 ++-- src/net/eathena/protocol.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 4e33c8f84..00a4fd548 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -50,7 +50,7 @@ AdminHandler::AdminHandler() : static const uint16_t _messages[] = { SMSG_ADMIN_KICK_ACK, - CMSG_ADMIN_GET_LOGIN_ACK, + SMSG_ADMIN_GET_LOGIN_ACK, 0 }; handledMessages = _messages; @@ -67,7 +67,7 @@ void AdminHandler::handleMessage(Net::MessageIn &msg) else NotifyManager::notify(NotifyTypes::KICK_SUCCEED); break; - case CMSG_ADMIN_GET_LOGIN_ACK: + case SMSG_ADMIN_GET_LOGIN_ACK: processAdminGetLoginAck(msg); break; default: diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index b057fbdb7..50613c24c 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -163,7 +163,7 @@ #define SMSG_PLAYER_STORAGE_CLOSE 0x00f8 /**< Storage access closed */ #define SMSG_ADMIN_KICK_ACK 0x00cd -#define CMSG_ADMIN_GET_LOGIN_ACK 0x01e0 +#define SMSG_ADMIN_GET_LOGIN_ACK 0x01e0 #define SMSG_GUILD_CREATE_RESPONSE 0x0167 #define SMSG_GUILD_POSITION_INFO 0x016c -- cgit v1.2.3-60-g2f50