From 336ec8a82855858701647c809d7214dece69dd87 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Apr 2015 00:22:39 +0300 Subject: eathena: add support for change password. --- src/net/tmwa/loginhandler.cpp | 4 +--- src/net/tmwa/loginhandler.h | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index 0007f0ffb..96a33d55a 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -128,9 +128,7 @@ void LoginHandler::disconnect() mNetwork->disconnect(); } -void LoginHandler::changePassword(const std::string &restrict username - A_UNUSED, - const std::string &restrict oldPassword, +void LoginHandler::changePassword(const std::string &restrict oldPassword, const std::string &restrict newPassword) const { diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h index fba17a8ae..9db07dee5 100644 --- a/src/net/tmwa/loginhandler.h +++ b/src/net/tmwa/loginhandler.h @@ -52,8 +52,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler unsigned int getMaxPasswordLength() const override final A_WARN_UNUSED { return 24; } - void changePassword(const std::string &restrict username, - const std::string &restrict oldPassword, + void changePassword(const std::string &restrict oldPassword, const std::string &restrict newPassword) const override final; -- cgit v1.2.3-70-g09d2