Filter bogus CTCP ACTION messages.
This commit is contained in:
parent
22ab2e2544
commit
1f679bfe7b
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ msg_channel(int p_or_n, const char *command,
|
||||||
!flood_attack_channel(p_or_n, source_p, chptr, chptr->chname))
|
!flood_attack_channel(p_or_n, source_p, chptr, chptr->chname))
|
||||||
{
|
{
|
||||||
if (p_or_n != NOTICE && *text == '\001' &&
|
if (p_or_n != NOTICE && *text == '\001' &&
|
||||||
strncasecmp(text + 1, "ACTION", 6))
|
strncasecmp(text + 1, "ACTION ", 7))
|
||||||
{
|
{
|
||||||
if (chptr->mode.mode & MODE_NOCTCP)
|
if (chptr->mode.mode & MODE_NOCTCP)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue