summaryrefslogtreecommitdiff
path: root/src/elogin
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-19 23:43:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-19 23:43:51 +0300
commit7cfd66e3c24240af8efdbae57407755283114f14 (patch)
tree07f0fb65354cac32b7b86a5a3f0d038dfa3d742f /src/elogin
parent1e1398a0c731dab75d5ca5d7077af68cc6104769 (diff)
downloadevol-hercules-7cfd66e3c24240af8efdbae57407755283114f14.tar.gz
evol-hercules-7cfd66e3c24240af8efdbae57407755283114f14.tar.bz2
evol-hercules-7cfd66e3c24240af8efdbae57407755283114f14.tar.xz
evol-hercules-7cfd66e3c24240af8efdbae57407755283114f14.zip
Drop support for client protocol version 2 (Nov 10 2014).
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 16d1c7e..1a53683 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 < 2)
+ if (clientVersion < 3)
{
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 < 2)
+ if (clientVersion < 3)
{
lclif->login_error(fd, 5);
hookStop();