summaryrefslogtreecommitdiff
path: root/src/elogin
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-09 00:22:13 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-09 00:22:13 +0300
commit74f62a9d600defa742b6e217edf4876190c4962d (patch)
tree9761ff4faa030d9fd4089c2cdae607eae7e7f0d8 /src/elogin
parent8f76b5e745322b637a02e9a45c996acebe95bc3e (diff)
downloadevol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.tar.gz
evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.tar.bz2
evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.tar.xz
evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.zip
Drop support for client version 20
Diffstat (limited to 'src/elogin')
-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 d17434b..fffd532 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 < 20)
+ if (clientVersion < 21)
{
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 < 20)
+ if (clientVersion < 21)
{
lclif->login_error(fd, 5);
hookStop();