diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:00:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:00:51 +0300 |
commit | bb48180858b0c6037ccfd91cde3c55928105efaa (patch) | |
tree | 551d6d051597feb6d4909ae71891645b8c2b676e /src/emap/clif.c | |
parent | 704544067426f3bd3f2ad9a583a260c7a5d6e85a (diff) | |
download | evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.tar.gz evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.tar.bz2 evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.tar.xz evol-hercules-bb48180858b0c6037ccfd91cde3c55928105efaa.zip |
Drop support for client protocol version 8 (May 1 2015).
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r-- | src/emap/clif.c | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c index 6adb50b..fefd4ea 100644 --- a/src/emap/clif.c +++ b/src/emap/clif.c @@ -553,25 +553,10 @@ int eclif_send_actual_pre(int *fd, const int packet = RBUFW (buf, 0); if (packet == 0x1d7) { - struct SessionExt *data = session_get(*fd); - if (!data) - return 0; - if (data->clientVersion >= 9) - { // not sending old packets to new clients - hookStop(); - return 0; - } - } - if (packet == 0xb17) - { - struct SessionExt *data = session_get(*fd); - if (!data) - return 0; - if (data->clientVersion < 9) - { // not sending new packets to old clients - hookStop(); - return 0; - } + // not sending old packets to new clients + // probably useless + hookStop(); + return 0; } if (packet == 0x84b) { |