summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-19 22:14:51 +0300
committerAndrei Karas <akaras@inbox.ru>2019-08-19 22:14:51 +0300
commitd3569abf6d6ebeb057533dcd40ec49985b05603d (patch)
tree5677bdfce54f139d9dee299a5d75f150ef60c808
parentb54941d94ae8fb2a88bf5287d5c65630e2e018cf (diff)
downloadevol-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.c4
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();