From 117bd5507d5e644107d7a53c9b12d7a2587b69a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Oct 2014 22:02:46 +0300 Subject: Add packet fields comments in loginhandler. --- src/net/eathena/loginhandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/loginhandler.cpp') 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 -- cgit v1.2.3-60-g2f50