summaryrefslogtreecommitdiff
path: root/src/elogin
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 00:51:50 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 00:51:50 +0300
commit704544067426f3bd3f2ad9a583a260c7a5d6e85a (patch)
tree5b6cf23e1afd3006dc153fb8bd98dfdeb398935a /src/elogin
parent70bea71a0907decf83c0c882001fd3d22c4322ad (diff)
downloadevol-hercules-704544067426f3bd3f2ad9a583a260c7a5d6e85a.tar.gz
evol-hercules-704544067426f3bd3f2ad9a583a260c7a5d6e85a.tar.bz2
evol-hercules-704544067426f3bd3f2ad9a583a260c7a5d6e85a.tar.xz
evol-hercules-704544067426f3bd3f2ad9a583a260c7a5d6e85a.zip
Drop support for client protocol version 7 (Mar 2 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 282944d..687dc92 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 < 7)
+ if (clientVersion < 8)
{
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 < 7)
+ if (clientVersion < 8)
{
lclif->login_error(fd, 5);
hookStop();