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.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index a19a859ec..75040edd5 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -118,18 +118,21 @@ void LoginHandler::disconnect()
mNetwork->disconnect();
}
-void LoginHandler::changePassword(const std::string &username A_UNUSED,
- const std::string &oldPassword,
- const std::string &newPassword) const
+void LoginHandler::changePassword(const std::string &restrict username
+ A_UNUSED,
+ const std::string &restrict oldPassword,
+ const std::string &restrict newPassword)
+ const
{
MessageOut outMsg(CMSG_CHAR_PASSWORD_CHANGE);
outMsg.writeStringNoLog(oldPassword, 24);
outMsg.writeStringNoLog(newPassword, 24);
}
-void LoginHandler::sendLoginRegister(const std::string &username,
- const std::string &password,
- const std::string &email A_UNUSED) const
+void LoginHandler::sendLoginRegister(const std::string &restrict username,
+ const std::string &restrict password,
+ const std::string &restrict email
+ A_UNUSED) const
{
MessageOut outMsg(0x0064);
outMsg.writeInt32(0); // client version