summaryrefslogtreecommitdiff
path: root/src/elogin
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:28:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 01:28:58 +0300
commit4a5a1205ac1c570724574b1aed3d3902f1bdbc27 (patch)
tree2a0f05cf12ea7bb1fae8998b70c7c3ec950eda96 /src/elogin
parent32eac16e25d7e2024c959d10393e467927140706 (diff)
downloadevol-hercules-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.tar.gz
evol-hercules-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.tar.bz2
evol-hercules-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.tar.xz
evol-hercules-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.zip
Drop support for client protocol version 10 (Aug 16 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 d7135c8..0467134 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 < 10)
+ if (clientVersion < 11)
{
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 < 10)
+ if (clientVersion < 11)
{
lclif->login_error(fd, 5);
hookStop();