From a870845a71dbe1879d6d316f0726c3f75e38249c Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Thu, 10 Apr 2008 01:04:30 +0000 Subject: Add configurable anti spam system, with possible auto ban. --- src/map/map.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 703bbb6..3c7e2de 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -308,7 +308,12 @@ struct map_session_data { } ignore[80]; int ignoreAll; short sg_count; - + + unsigned int chat_lastmsg_time; + char chat_lastmsg[513]; + int chat_threshold; + int chat_repeatmsg; + #ifndef TXT_ONLY int mail_counter; // mail counter for mail system [Valaris] #endif -- cgit v1.2.3-70-g09d2