Filter bogus CTCP ACTION messages.

This commit is contained in:
William Pitcock 2010-11-05 01:16:03 -05:00
parent 22ab2e2544
commit 1f679bfe7b

View file

@ -522,7 +522,7 @@ msg_channel(int p_or_n, const char *command,
!flood_attack_channel(p_or_n, source_p, chptr, chptr->chname))
{
if (p_or_n != NOTICE && *text == '\001' &&
strncasecmp(text + 1, "ACTION", 6))
strncasecmp(text + 1, "ACTION ", 7))
{
if (chptr->mode.mode & MODE_NOCTCP)
{