diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-06 20:35:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-06 20:35:20 +0300 |
commit | 37a7b44b49ac709122987715590b3387e1714b2a (patch) | |
tree | 6e87a19f2ee6e94445beba82a07ff1512442e905 /src/elogin | |
parent | 4faa0adfc89047c78559627672bcc68eb2203f34 (diff) | |
download | evol-hercules-37a7b44b49ac709122987715590b3387e1714b2a.tar.gz evol-hercules-37a7b44b49ac709122987715590b3387e1714b2a.tar.bz2 evol-hercules-37a7b44b49ac709122987715590b3387e1714b2a.tar.xz evol-hercules-37a7b44b49ac709122987715590b3387e1714b2a.zip |
Drop support for client version 17.
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 7ecdf13..a03905a 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 < 17) + if (clientVersion < 18) { 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 < 17) + if (clientVersion < 18) { lclif->login_error(fd, 5); hookStop(); |