From: William Pitcock Date: Fri, 5 Nov 2010 06:16:03 +0000 (-0500) Subject: Filter bogus CTCP ACTION messages. X-Git-Tag: shadowircd-6.3.0-RC1~50 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/585e477be8d7cfa2c0308568e5cab8df095a639e Filter bogus CTCP ACTION messages. --- diff --git a/modules/core/m_message.c b/modules/core/m_message.c index 9b265d5..670a609 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -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))) {