summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/adminhandler.cpp4
-rw-r--r--src/net/eathena/protocol.h2
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