diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 22:02:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 22:02:46 +0300 |
commit | 117bd5507d5e644107d7a53c9b12d7a2587b69a5 (patch) | |
tree | bd3f186fcc6cea40c078050a046b28e6dfe085eb /src/net/eathena/loginhandler.cpp | |
parent | 4d02075c3daaefca2dcad72546e1e45b4219b5ad (diff) | |
download | manaplus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.tar.gz manaplus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.tar.bz2 manaplus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.tar.xz manaplus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.zip |
Add packet fields comments in loginhandler.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index ed05e2b07..763baeccd 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -118,8 +118,8 @@ void LoginHandler::changePassword(const std::string &restrict username const { createOutPacket(CMSG_CHAR_PASSWORD_CHANGE); - outMsg.writeStringNoLog(oldPassword, 24); - outMsg.writeStringNoLog(newPassword, 24); + outMsg.writeStringNoLog(oldPassword, 24, "old password"); + outMsg.writeStringNoLog(newPassword, 24, "new password"); } void LoginHandler::sendLoginRegister(const std::string &restrict username, @@ -185,7 +185,7 @@ void LoginHandler::processLoginError2(Net::MessageIn &msg) "banned from the game until " "%s.\nPlease contact the GM " "team via the forums."), - msg.readString(20).c_str()); + msg.readString(20, "date").c_str()); break; case 7: // look like unused |