summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index b0a649ed4..696b1eed5 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -127,13 +127,11 @@ void LoginHandler::disconnect()
void LoginHandler::changePassword(const std::string &restrict username
A_UNUSED,
- const std::string &restrict oldPassword,
- const std::string &restrict newPassword)
- const
+ const std::string &restrict
+ oldPassword A_UNUSED,
+ const std::string &restrict
+ newPassword A_UNUSED) const
{
- createOutPacket(CMSG_CHAR_PASSWORD_CHANGE);
- outMsg.writeStringNoLog(oldPassword, 24, "old password");
- outMsg.writeStringNoLog(newPassword, 24, "new password");
}
void LoginHandler::sendLoginRegister(const std::string &restrict username,