summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-16 23:23:40 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-05 22:22:05 +0300
commit200bb9f2408d0abb805c8352750a9d4949fbed78 (patch)
tree4988c0775a669febaa446348aed16b0321a6667b /src/map/battle.h
parenta3cda4e072586458e1ace4d215f3fd2406518d96 (diff)
downloadhercules-200bb9f2408d0abb805c8352750a9d4949fbed78.tar.gz
hercules-200bb9f2408d0abb805c8352750a9d4949fbed78.tar.bz2
hercules-200bb9f2408d0abb805c8352750a9d4949fbed78.tar.xz
hercules-200bb9f2408d0abb805c8352750a9d4949fbed78.zip
Add option for drop connection on disconnect packet from client
New configuration option drop_connection_on_quit.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index a99e95c86..8743274ee 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -583,8 +583,10 @@ struct Battle_Config {
int ping_timer_interval;
int ping_time;
-
+
int option_drop_max_loop;
+
+ int drop_connection_on_quit;
};
/* criteria for battle_config.idletime_critera */