summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-07-05 14:02:21 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-07-05 14:02:21 -0300
commitea5a413cdf7eec37141a7fe124cad38d66464ac4 (patch)
tree362b45932adb14f32fbd5b4f756f7a77371a10f2 /src/map/battle.c
parentebc0cc4695e13570bf9eb525a42eeba820ed34cb (diff)
downloadhercules-ea5a413cdf7eec37141a7fe124cad38d66464ac4.tar.gz
hercules-ea5a413cdf7eec37141a7fe124cad38d66464ac4.tar.bz2
hercules-ea5a413cdf7eec37141a7fe124cad38d66464ac4.tar.xz
hercules-ea5a413cdf7eec37141a7fe124cad38d66464ac4.zip
Implemented real-time server stats (in and out data and ram usage), made by Ai4rei; thanks!
Another follow up, now to fix maximum value of chatdori setting; And fixed a bug where warping to a disable map would cause the map-server to crash. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index d03afc431..aeed4c2b0 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -6461,7 +6461,7 @@ static const struct _battle_data {
{ "item_enabled_npc", &battle_config.item_enabled_npc, 1, 0, 1, },
{ "gm_ignore_warpable_area", &battle_config.gm_ignore_warpable_area, 0, 2, 100, },
{ "packet_obfuscation", &battle_config.packet_obfuscation, 1, 0, 3, },
- { "client_accept_chatdori", &battle_config.client_accept_chatdori, 0, 0, 1, },
+ { "client_accept_chatdori", &battle_config.client_accept_chatdori, 0, 0, INT_MAX, },
};
#ifndef STATS_OPT_OUT
/**