diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:49:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 02:24:18 +0300 |
commit | ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7 (patch) | |
tree | cf3f4bb88917c321ce6abe3d474f8c309f5b04f8 /src/elogin | |
parent | bbec048534c01eb039386745b13909026d58dbb3 (diff) | |
download | evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.tar.gz evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.tar.bz2 evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.tar.xz evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.zip |
Drop support for client protocol version 15 (Oct 26 2015).
Diffstat (limited to 'src/elogin')
-rw-r--r-- | src/elogin/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elogin/parse.c b/src/elogin/parse.c index 9429673..6ca6043 100644 --- a/src/elogin/parse.c +++ b/src/elogin/parse.c @@ -34,7 +34,7 @@ void login_parse_version(int fd) clientVersion = RFIFOL(fd, 2); - if (clientVersion < 15) + if (clientVersion < 16) { lclif->login_error(fd, 5); return; @@ -58,7 +58,7 @@ bool elogin_client_login_pre(int *fdPtr, char username[NAME_LENGTH]; safestrncpy(username, RFIFOP(fd, 6), NAME_LENGTH); int len = (int)safestrnlen(username, NAME_LENGTH); - if (clientVersion < 15) + if (clientVersion < 16) { lclif->login_error(fd, 5); hookStop(); |