summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 17:40:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 17:40:21 +0300
commit5dea1285694723157054dc4a739a222a2e12205b (patch)
tree1ae6704f528e4752371a71ff2f34f2f94e987528 /src/net/eathena/loginhandler.cpp
parent528aa915c7401ab773aba268ec5d0816ab580ea9 (diff)
downloadmanaverse-5dea1285694723157054dc4a739a222a2e12205b.tar.gz
manaverse-5dea1285694723157054dc4a739a222a2e12205b.tar.bz2
manaverse-5dea1285694723157054dc4a739a222a2e12205b.tar.xz
manaverse-5dea1285694723157054dc4a739a222a2e12205b.zip
eathena: remove packet CMSG_CHAR_PASSWORD_CHANGE.
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,