summaryrefslogtreecommitdiff
path: root/src/elogin
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:35:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 01:35:18 +0300
commitca8f4954af2c0b800358229c831ebcbbb2567acb (patch)
tree48f65e76f0482042446e7ffc086d5f8a753f0189 /src/elogin
parent4175e61b1381e553193627b7f5a1b7ee1b0dbb50 (diff)
downloadevol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.tar.gz
evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.tar.bz2
evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.tar.xz
evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.zip
Drop support for client protocol version 12 (Sep 28 2015).
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 562250e..1589c67 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 < 12)
+ if (clientVersion < 14)
{
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 < 12)
+ if (clientVersion < 14)
{
lclif->login_error(fd, 5);
hookStop();