summaryrefslogtreecommitdiff
path: root/src/elogin/parse.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:32:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 01:32:24 +0300
commit4175e61b1381e553193627b7f5a1b7ee1b0dbb50 (patch)
tree66acbb4bf0502688e0d381efebf9ce3119493823 /src/elogin/parse.c
parent4a5a1205ac1c570724574b1aed3d3902f1bdbc27 (diff)
downloadevol-hercules-4175e61b1381e553193627b7f5a1b7ee1b0dbb50.tar.gz
evol-hercules-4175e61b1381e553193627b7f5a1b7ee1b0dbb50.tar.bz2
evol-hercules-4175e61b1381e553193627b7f5a1b7ee1b0dbb50.tar.xz
evol-hercules-4175e61b1381e553193627b7f5a1b7ee1b0dbb50.zip
Drop support for client protocol version 11 (Aug 21 2015).
Diffstat (limited to 'src/elogin/parse.c')
-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 0467134..562250e 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -34,7 +34,7 @@ void login_parse_version(int fd)
clientVersion = RFIFOL(fd, 2);
- if (clientVersion < 11)
+ if (clientVersion < 12)
{
lclif->login_error(fd, 5);
return;
@@ -58,7 +58,7 @@ bool elogin_client_login_pre(int *fdPtr,
char username[NAME_LENGTH];
safestrncpy(username, RFIFOP(fd, 6), NAME_LENGTH);
int len = (int)safestrnlen(username, NAME_LENGTH);
- if (clientVersion < 11)
+ if (clientVersion < 12)
{
lclif->login_error(fd, 5);
hookStop();