diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-08 00:31:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-08 00:31:51 +0300 |
commit | 62e260303a026d9846a95656a71d410b29d2e6a9 (patch) | |
tree | 120754d5c517db9c9ac1da99266a00a954db66fb /src/elogin/parse.c | |
parent | 3c478103d2172d7aa7a22c8fcb48afc02925bd53 (diff) | |
download | evol-hercules-62e260303a026d9846a95656a71d410b29d2e6a9.tar.gz evol-hercules-62e260303a026d9846a95656a71d410b29d2e6a9.tar.bz2 evol-hercules-62e260303a026d9846a95656a71d410b29d2e6a9.tar.xz evol-hercules-62e260303a026d9846a95656a71d410b29d2e6a9.zip |
Drop support for client protocol version 19.s20190123
Diffstat (limited to 'src/elogin/parse.c')
-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 b6e4b5d..d17434b 100644 --- a/src/elogin/parse.c +++ b/src/elogin/parse.c @@ -35,7 +35,7 @@ void login_parse_version(int fd) clientVersion = RFIFOL(fd, 2); // check for minimal supported version - if (clientVersion < 19) + if (clientVersion < 20) { lclif->login_error(fd, 5); return; @@ -60,7 +60,7 @@ bool elogin_client_login_pre(int *fdPtr, safestrncpy(username, RFIFOP(fd, 6), NAME_LENGTH); int len = (int)safestrnlen(username, NAME_LENGTH); // check for minimal supported version - if (clientVersion < 19) + if (clientVersion < 20) { lclif->login_error(fd, 5); hookStop(); |