diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 20:17:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 20:17:52 +0300 |
commit | 976d72a73812224ff43f344299f1de64459b05be (patch) | |
tree | 47c542ced16bc81f2d8040ee0809819f7e608713 /src | |
parent | c4a5e0d7762aec9654e851cdae8ff57a06be881c (diff) | |
download | manaplus-976d72a73812224ff43f344299f1de64459b05be.tar.gz manaplus-976d72a73812224ff43f344299f1de64459b05be.tar.bz2 manaplus-976d72a73812224ff43f344299f1de64459b05be.tar.xz manaplus-976d72a73812224ff43f344299f1de64459b05be.zip |
Fix packet name SMSG_ADMIN_GET_LOGIN_ACK.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 4 | ||||
-rw-r--r-- | 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 |