summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorDennis Friis <peavey@placid.dk>2008-04-10 01:04:30 +0000
committerDennis Friis <peavey@placid.dk>2008-04-10 01:04:30 +0000
commita870845a71dbe1879d6d316f0726c3f75e38249c (patch)
treeec1321e701bd8a821ed4ff2346533f948a794ab6 /src/map/battle.h
parent41b5cece10fb9b59e2b05796c54c4008b523f5b3 (diff)
downloadtmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.tar.gz
tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.tar.bz2
tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.tar.xz
tmwa-a870845a71dbe1879d6d316f0726c3f75e38249c.zip
Add configurable anti spam system, with possible auto ban.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 8f09d22..27e1e6f 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -331,6 +331,11 @@ extern struct Battle_Config {
int castrate_dex_scale; // added by [MouseJstr]
int area_size; // added by [MouseJstr]
+ int spam_ban;
+ int spam_time;
+ int spam_threshold;
+ int chat_maxline;
+
#ifndef TXT_ONLY /* SQL-only options */
int mail_system; // [Valaris]
#endif