]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Filter bogus CTCP ACTION messages.
authorWilliam Pitcock <redacted>
Fri, 5 Nov 2010 06:16:03 +0000 (01:16 -0500)
committerWilliam Pitcock <redacted>
Fri, 5 Nov 2010 06:16:03 +0000 (01:16 -0500)
modules/core/m_message.c

index 9b265d55efc1e559f139b129925b53dc9de28e29..670a6097b89bfa5e0e5103b8732e40688761a7a3 100644 (file)
@@ -574,7 +574,7 @@ msg_channel(int p_or_n, const char *command,
                                return;
                        }
                        if (p_or_n != NOTICE && *text == '\001' &&
-                                       strncasecmp(text + 1, "ACTION", 6))
+                                       strncasecmp(text + 1, "ACTION ", 7))
                        {
                                if (chptr->mode.mode & MODE_NOCTCP && (!ConfigChannel.exempt_cmode_C || !is_any_op(msptr)))
                                {