diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-08-19 22:14:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-08-19 22:14:51 +0300 |
commit | d3569abf6d6ebeb057533dcd40ec49985b05603d (patch) | |
tree | 5677bdfce54f139d9dee299a5d75f150ef60c808 | |
parent | b54941d94ae8fb2a88bf5287d5c65630e2e018cf (diff) | |
download | evol-hercules-d3569abf6d6ebeb057533dcd40ec49985b05603d.tar.gz evol-hercules-d3569abf6d6ebeb057533dcd40ec49985b05603d.tar.bz2 evol-hercules-d3569abf6d6ebeb057533dcd40ec49985b05603d.tar.xz evol-hercules-d3569abf6d6ebeb057533dcd40ec49985b05603d.zip |
Drop support for protocol version 22
-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 6514165..9156cb4 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 < 22) + if (clientVersion < 23) { 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 < 22) + if (clientVersion < 23) { lclif->login_error(fd, 5); hookStop(); |