summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-15 00:22:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-15 00:22:39 +0300
commit336ec8a82855858701647c809d7214dece69dd87 (patch)
tree5f03fb33363afcd208d718f3f5185ec0b88b1c49 /src/net/tmwa
parenta515a9c9f6f1a6f7a0d94e0ceba5ed52c69902bb (diff)
downloadmanaplus-336ec8a82855858701647c809d7214dece69dd87.tar.gz
manaplus-336ec8a82855858701647c809d7214dece69dd87.tar.bz2
manaplus-336ec8a82855858701647c809d7214dece69dd87.tar.xz
manaplus-336ec8a82855858701647c809d7214dece69dd87.zip
eathena: add support for change password.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/loginhandler.cpp4
-rw-r--r--src/net/tmwa/loginhandler.h3
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;