summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:17:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 01:19:39 +0300
commit32eac16e25d7e2024c959d10393e467927140706 (patch)
treef8a9ff8a788463bf83db8de85e82921f1493ca09
parentbb48180858b0c6037ccfd91cde3c55928105efaa (diff)
downloadevol-hercules-32eac16e25d7e2024c959d10393e467927140706.tar.gz
evol-hercules-32eac16e25d7e2024c959d10393e467927140706.tar.bz2
evol-hercules-32eac16e25d7e2024c959d10393e467927140706.tar.xz
evol-hercules-32eac16e25d7e2024c959d10393e467927140706.zip
Drop support for client protocol version 9 (Aug 12 2015).
-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 262b91a..d7135c8 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 < 9)
+ if (clientVersion < 10)
{
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 < 9)
+ if (clientVersion < 10)
{
lclif->login_error(fd, 5);
hookStop();