diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-08-16 11:07:10 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-08-16 11:07:10 -0600 |
commit | d54b91582b6f8ba1a2c26411dd122d80930f3b02 (patch) | |
tree | cc0a05ac68576900492611274b0ea77ad39718e8 /src/map/battle.h | |
parent | 4fcb38d69d1b61cc79b6b9af06918e5c228b242b (diff) | |
download | tmwa-d54b91582b6f8ba1a2c26411dd122d80930f3b02.tar.gz tmwa-d54b91582b6f8ba1a2c26411dd122d80930f3b02.tar.bz2 tmwa-d54b91582b6f8ba1a2c26411dd122d80930f3b02.tar.xz tmwa-d54b91582b6f8ba1a2c26411dd122d80930f3b02.zip |
Adjust auto ban code and add sit spam handling
All three ban types can now either ban or just ingore new packets. Trade
and sit spam default to ignore. Chat spam defaults to 1hr ban.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h index cdce770..b58e80c 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -323,6 +323,11 @@ extern struct Battle_Config { int trade_spam_flood; int trade_spam_ban; int trade_spam_warn; + + int sit_spam_threshold; + int sit_spam_flood; + int sit_spam_ban; + int sit_spam_warn; int drop_pickup_safety_zone; // [Fate] Max. distance to an object dropped by a kill by self in which dropsteal protection works |