From 200bb9f2408d0abb805c8352750a9d4949fbed78 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Apr 2019 23:23:40 +0300 Subject: Add option for drop connection on disconnect packet from client New configuration option drop_connection_on_quit. --- src/map/battle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/battle.h') 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 */ -- cgit v1.2.3-70-g09d2