summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-19 23:53:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-19 23:53:07 +0300
commit72d4d2df6918917a50c057fea3f5847f9e3750eb (patch)
tree010f8d609f16527de953df159f543e2e455de9b5 /src/emap/clif.c
parent7cfd66e3c24240af8efdbae57407755283114f14 (diff)
downloadevol-hercules-72d4d2df6918917a50c057fea3f5847f9e3750eb.tar.gz
evol-hercules-72d4d2df6918917a50c057fea3f5847f9e3750eb.tar.bz2
evol-hercules-72d4d2df6918917a50c057fea3f5847f9e3750eb.tar.xz
evol-hercules-72d4d2df6918917a50c057fea3f5847f9e3750eb.zip
Drop support for client protocol version 3 (Nov 28 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 d9245a8..7d75a85 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 >= 0xb03 && packet <= 0xb0a)
- {
- struct SessionExt *data = session_get(*fd);
- if (!data)
- return 0;
- if (data->clientVersion < 4)
- { // not sending new packets to old clients
-// ShowWarning("skip packet %d\n", packet);
- hookStop();
- return 0;
- }
- }
if (packet == 0xb0b)
{
struct SessionExt *data = session_get(*fd);