summaryrefslogtreecommitdiff
path: root/src/elogin/parse.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:00:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 01:00:51 +0300
commitbb48180858b0c6037ccfd91cde3c55928105efaa (patch)
tree551d6d051597feb6d4909ae71891645b8c2b676e /src/elogin/parse.c
parent704544067426f3bd3f2ad9a583a260c7a5d6e85a (diff)
downloadevol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.tar.gz
evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.tar.bz2
evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.tar.xz
evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.zip
Drop support for client protocol version 8 (May 1 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 687dc92..262b91a 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 < 8)
+ if (clientVersion < 9)
{
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 < 8)
+ if (clientVersion < 9)
{
lclif->login_error(fd, 5);
hookStop();