From 5cde72ce83a6d6f4a7825b94e0ff984687f98009 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 5 Aug 2012 18:28:28 -0700 Subject: Pass @wgm through chat spam filter. --- src/map/atcommand.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 3106244..88e756d 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8501,6 +8501,8 @@ atcommand_iterate_backwards_over_players (const int fd, int atcommand_wgm (const int fd, struct map_session_data *sd, const char *command, const char *message) { + if (tmw_CheckChatSpam(sd, message)) + return 0; tmw_GmHackMsg ("%s: %s", sd->status.name, message); if (!pc_isGM (sd)) clif_displaymessage (fd, "Message sent."); -- cgit v1.2.3-60-g2f50