diff options
author | Dennis Friis <peavey@placid.dk> | 2008-04-10 01:04:30 +0000 |
---|---|---|
committer | Dennis Friis <peavey@placid.dk> | 2008-04-10 01:04:30 +0000 |
commit | a870845a71dbe1879d6d316f0726c3f75e38249c (patch) | |
tree | ec1321e701bd8a821ed4ff2346533f948a794ab6 /src/map/map.h | |
parent | 41b5cece10fb9b59e2b05796c54c4008b523f5b3 (diff) | |
download | tmwa-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/map.h')
-rw-r--r-- | src/map/map.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 |