diff options
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 10 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
2 files changed, 5 insertions, 7 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, diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 9445bcc56..05561d437 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -271,6 +271,7 @@ #define SMSG_MAP_TYPE_PROPERTY2 0x099b #define SMSG_MAP_TYPE 0x01d6 #define SMSG_IGNORE_ALL_RESPONSE 0x00d2 +// unused for now #define SMSG_ONLINE_LIST 0x0211 #define SMSG_NPC_COMMAND 0x0B00 @@ -319,7 +320,6 @@ #define CMSG_NAME_REQUEST 0x088a // Custom change password packet -#define CMSG_CHAR_PASSWORD_CHANGE 0x0061 #define CMSG_CHAR_SERVER_CONNECT 0x0065 #define CMSG_CHAR_SELECT 0x0066 #define CMSG_CHAR_CREATE 0x0970 |