diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 00:14:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 00:14:03 +0300 |
commit | 8bd2e025cca547a581de5f44b22e283d8d046915 (patch) | |
tree | 166f798de2147590105fdf2c19aa0b6aeebb95be /src/elogin/parse.c | |
parent | c94b16d11e20fbfecf6f69da057e63dfc0c2d312 (diff) | |
download | evol-hercules-8bd2e025cca547a581de5f44b22e283d8d046915.tar.gz evol-hercules-8bd2e025cca547a581de5f44b22e283d8d046915.tar.bz2 evol-hercules-8bd2e025cca547a581de5f44b22e283d8d046915.tar.xz evol-hercules-8bd2e025cca547a581de5f44b22e283d8d046915.zip |
Drop support for client protocol version 5 (Jan 20 2015).
Diffstat (limited to 'src/elogin/parse.c')
-rw-r--r-- | src/elogin/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elogin/parse.c b/src/elogin/parse.c index 1db2dbd..0a42ecd 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 < 5) + if (clientVersion < 6) { 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 < 5) + if (clientVersion < 6) { lclif->login_error(fd, 5); hookStop(); |