Filter bogus CTCP ACTION messages.

This commit is contained in:
William Pitcock 2010-11-05 01:16:03 -05:00
parent 78ab5aa473
commit 585e477be8
1 changed files with 1 additions and 1 deletions

View 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)))
{