diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 5ebec5106..8ca8bd1b7 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -134,7 +134,7 @@ void LoginHandler::sendLoginRegister(const std::string &restrict username, const std::string &restrict email A_UNUSED) const { - MessageOut outMsg(0x0064); + MessageOut outMsg(CMSG_LOGIN_REGISTER); outMsg.writeInt32(0); // client version outMsg.writeString(username, 24); outMsg.writeStringNoLog(password, 24); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index df0527b4c..c1a3b016b 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -28,6 +28,8 @@ *********************************/ #define SMSG_SERVER_VERSION_RESPONSE 0x7531 +#define CMSG_LOGIN_REGISTER 0x0064 + #define SMSG_SERVER_PING 0x007f /**< Contains server tick */ #define SMSG_CONNECTION_PROBLEM 0x0081 |