diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-17 00:45:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-17 00:45:28 +0300 |
commit | e4bb6a1c4841c263878291915c528de77042bba5 (patch) | |
tree | f9823a36b44963ecd9e32c04d1925ece6551cfee /src/net/eathena/loginhandler.cpp | |
parent | 68ba74a39cbddd5bc92edf5025864c5014e698d8 (diff) | |
download | manaplus-e4bb6a1c4841c263878291915c528de77042bba5.tar.gz manaplus-e4bb6a1c4841c263878291915c528de77042bba5.tar.bz2 manaplus-e4bb6a1c4841c263878291915c528de77042bba5.tar.xz manaplus-e4bb6a1c4841c263878291915c528de77042bba5.zip |
Drop support for evol plugin version 5.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 9541bc291..7cbcf49cc 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -87,7 +87,7 @@ void LoginHandler::changePassword(const std::string &restrict oldPassword, const std::string &restrict newPassword) const { - if (!serverFeatures->haveChangePassword()) + if (serverVersion == 0) return; createOutPacket(CMSG_CHAR_PASSWORD_CHANGE); outMsg.writeStringNoLog(oldPassword, 24, "old password"); |