summaryrefslogtreecommitdiff
path: root/src/map/tmw.h
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-02-06 12:27:20 -0500
committerMadCamel <madcamel@gmail.com>2010-02-06 12:27:20 -0500
commit6de929250ffa57f0dee45b90c53c1a5eae4de5c3 (patch)
tree06583bd6ee56f930d651a6ae4e18ef7f51bc5066 /src/map/tmw.h
parenta95e926dc13fb5d40b6a7aba35aadd1828e61f27 (diff)
downloadtmwa-6de929250ffa57f0dee45b90c53c1a5eae4de5c3.tar.gz
tmwa-6de929250ffa57f0dee45b90c53c1a5eae4de5c3.tar.bz2
tmwa-6de929250ffa57f0dee45b90c53c1a5eae4de5c3.tar.xz
tmwa-6de929250ffa57f0dee45b90c53c1a5eae4de5c3.zip
Cleaned up spamban code a little. Now logs location where ban was triggered.
It still needs to be refactored more but this'll do for now.
Diffstat (limited to 'src/map/tmw.h')
-rw-r--r--src/map/tmw.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/tmw.h b/src/map/tmw.h
index e23aa51..bf5fce0 100644
--- a/src/map/tmw.h
+++ b/src/map/tmw.h
@@ -3,8 +3,10 @@
#include "map.h"
int tmw_CheckChatSpam (struct map_session_data *sd, char *message);
+int tmw_CheckTradeSpam (struct map_session_data *sd);
+int tmw_CheckSitSpam (struct map_session_data *sd);
int tmw_ShorterStrlen (char *s1, char *s2);
int tmw_CheckChatLameness (struct map_session_data *sd, char *message);
void tmw_GmHackMsg (const char *fmt, ...);
-int tmw_CheckTradeSpam (struct map_session_data *sd);
-int tmw_CheckSitSpam (struct map_session_data *sd);
+void tmw_AutoBan(struct map_session_data *sd, char *reason, int length);
+