summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/net/eathena/loginhandler.cpp10
-rw-r--r--src/net/eathena/protocol.h2
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