Filter bogus CTCP ACTION messages.
This commit is contained in:
parent
78ab5aa473
commit
585e477be8
|
@ -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)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue