summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-24 01:56:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-24 01:56:45 +0300
commitc8197ed59f213e9831b8170e3fa521041e03cb9a (patch)
tree2f3e507b57d68621fab50e4e10125244fadb0fd3 /src/net/eathena/loginhandler.cpp
parent39b049572ef0a734d3a6bd2a3def04c100f606df (diff)
downloadplus-c8197ed59f213e9831b8170e3fa521041e03cb9a.tar.gz
plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.tar.bz2
plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.tar.xz
plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.zip
Remove packet constant from eathena net code.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp2
1 files changed, 1 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);