summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 22:02:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 22:02:46 +0300
commit117bd5507d5e644107d7a53c9b12d7a2587b69a5 (patch)
treebd3f186fcc6cea40c078050a046b28e6dfe085eb /src/net/eathena/loginhandler.cpp
parent4d02075c3daaefca2dcad72546e1e45b4219b5ad (diff)
downloadplus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.tar.gz
plus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.tar.bz2
plus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.tar.xz
plus-117bd5507d5e644107d7a53c9b12d7a2587b69a5.zip
Add packet fields comments in loginhandler.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp6
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