diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
commit | b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 (patch) | |
tree | eed5cd349f7e9db512fd1e940ed7b070df1c6a35 /src/net/eathena/loginhandler.cpp | |
parent | 403792db7d005066273bcbe138afcd1a98b3144c (diff) | |
download | mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.gz mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.bz2 mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.xz mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.zip |
Add comments for all output packets header.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 6441bf351..b5f2ed07d 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -118,7 +118,7 @@ void LoginHandler::changePassword(const std::string &restrict username const std::string &restrict newPassword) const { - MessageOut outMsg(CMSG_CHAR_PASSWORD_CHANGE); + createOutPacket(CMSG_CHAR_PASSWORD_CHANGE); outMsg.writeStringNoLog(oldPassword, 24); outMsg.writeStringNoLog(newPassword, 24); } @@ -128,7 +128,7 @@ void LoginHandler::sendLoginRegister(const std::string &restrict username, const std::string &restrict email A_UNUSED) const { - MessageOut outMsg(CMSG_LOGIN_REGISTER); + createOutPacket(CMSG_LOGIN_REGISTER); outMsg.writeInt32(20, "client version"); outMsg.writeString(username, 24, "login"); outMsg.writeStringNoLog(password, 24, "password"); |