diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-15 00:22:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-15 00:22:39 +0300 |
commit | 336ec8a82855858701647c809d7214dece69dd87 (patch) | |
tree | 5f03fb33363afcd208d718f3f5185ec0b88b1c49 /src/net/tmwa | |
parent | a515a9c9f6f1a6f7a0d94e0ceba5ed52c69902bb (diff) | |
download | plus-336ec8a82855858701647c809d7214dece69dd87.tar.gz plus-336ec8a82855858701647c809d7214dece69dd87.tar.bz2 plus-336ec8a82855858701647c809d7214dece69dd87.tar.xz plus-336ec8a82855858701647c809d7214dece69dd87.zip |
eathena: add support for change password.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/loginhandler.h | 3 |
2 files changed, 2 insertions, 5 deletions
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; |