Do not set large_ctcp_sent for CTCP ACTION as it does not request a reply.
This commit is contained in:
parent
ddbd4a8151
commit
ebc55af53c
|
@ -516,6 +516,7 @@ msg_channel(int p_or_n, const char *command,
|
||||||
sendto_channel_flags(client_p, ALL_MEMBERS, source_p, chptr,
|
sendto_channel_flags(client_p, ALL_MEMBERS, source_p, chptr,
|
||||||
"%s %s :%s", command, chptr->chname, text);
|
"%s %s :%s", command, chptr->chname, text);
|
||||||
if (p_or_n != NOTICE && *text == '\001' &&
|
if (p_or_n != NOTICE && *text == '\001' &&
|
||||||
|
strncasecmp(text + 1, "ACTION", 6) &&
|
||||||
rb_dlink_list_length(&chptr->locmembers) > (unsigned)(GlobalSetOptions.floodcount / 2))
|
rb_dlink_list_length(&chptr->locmembers) > (unsigned)(GlobalSetOptions.floodcount / 2))
|
||||||
source_p->large_ctcp_sent = rb_current_time();
|
source_p->large_ctcp_sent = rb_current_time();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue