summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
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/emap/clif.c
parent1e1398a0c731dab75d5ca5d7077af68cc6104769 (diff)
downloadplugin-7cfd66e3c24240af8efdbae57407755283114f14.tar.gz
plugin-7cfd66e3c24240af8efdbae57407755283114f14.tar.bz2
plugin-7cfd66e3c24240af8efdbae57407755283114f14.tar.xz
plugin-7cfd66e3c24240af8efdbae57407755283114f14.zip
Drop support for client protocol version 2 (Nov 10 2014).
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index a5e3ecd..d9245a8 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -551,18 +551,6 @@ int eclif_send_actual_pre(int *fd,
if (*len >= 2)
{
const int packet = RBUFW (buf, 0);
- if (packet >= 0xb02 && packet <= 0xb10)
- {
- struct SessionExt *data = session_get(*fd);
- if (!data)
- return 0;
- if (data->clientVersion < 3)
- { // not sending new packets to old clients
-// ShowWarning("skip packet %d\n", packet);
- hookStop();
- return 0;
- }
- }
if (packet >= 0xb03 && packet <= 0xb0a)
{
struct SessionExt *data = session_get(*fd);