summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-17 00:45:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-17 00:45:28 +0300
commite4bb6a1c4841c263878291915c528de77042bba5 (patch)
treef9823a36b44963ecd9e32c04d1925ece6551cfee /src/net/eathena/loginhandler.cpp
parent68ba74a39cbddd5bc92edf5025864c5014e698d8 (diff)
downloadmanaplus-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.cpp2
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");