summaryrefslogtreecommitdiff
path: root/src/elogin/parse.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-19 23:58:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-19 23:58:08 +0300
commitc94b16d11e20fbfecf6f69da057e63dfc0c2d312 (patch)
tree1ec92940643e7bd2a2a13f4d0841987e8c20672b /src/elogin/parse.c
parent72d4d2df6918917a50c057fea3f5847f9e3750eb (diff)
downloadevol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.tar.gz
evol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.tar.bz2
evol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.tar.xz
evol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.zip
Drop support for client protocol version 4 (Jan 5 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 6a1052d..1db2dbd 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 < 4)
+ if (clientVersion < 5)
{
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 < 4)
+ if (clientVersion < 5)
{
lclif->login_error(fd, 5);
hookStop();