From d54b91582b6f8ba1a2c26411dd122d80930f3b02 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 16 Aug 2009 11:07:10 -0600 Subject: 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. --- src/map/map.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/map.h') 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 { -- cgit v1.2.3-70-g09d2