summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-08-16 11:07:10 -0600
committerJared Adams <jaxad0127@gmail.com>2009-08-16 11:07:10 -0600
commitd54b91582b6f8ba1a2c26411dd122d80930f3b02 (patch)
treecc0a05ac68576900492611274b0ea77ad39718e8 /src/map/map.h
parent4fcb38d69d1b61cc79b6b9af06918e5c228b242b (diff)
downloadtmwa-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/map.h')
-rw-r--r--src/map/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 1c49293..ad6575a 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -361,6 +361,9 @@ struct map_session_data {
time_t trade_reset_due;
int trades_in;
+
+ time_t sit_reset_due;
+ int sits_in;
};
struct npc_timerevent_list {