summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-05-03 10:37:13 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 13:01:33 +0200
commit7642fdf488c5cd06363297ab88ef70b4f1caa4c6 (patch)
tree7a8ccc34829b16003af2847f93803a05916e9cd2 /src/map/battle.c
parent1a284890a23188378db268500eb406f5505ff81b (diff)
downloadtmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.tar.gz
tmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.tar.bz2
tmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.tar.xz
tmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.zip
Fixed antispam to use a timer that doesn't wrap
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 d15c36d..f822c10 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4513,7 +4513,7 @@ int battle_config_read(const char *cfgName)
battle_config.area_size = 14;
battle_config.chat_lame_penalty = 2;
- battle_config.chat_spam_threshold = 10000;
+ battle_config.chat_spam_threshold = 10;
battle_config.chat_spam_flood = 10;
battle_config.chat_spam_ban = 1;
battle_config.chat_spam_warn = 8;