]> jfr.im git - solanum.git/commitdiff
Do not set large_ctcp_sent for CTCP ACTION as it does not request a reply.
authorJilles Tjoelker <redacted>
Thu, 14 Jan 2010 00:12:16 +0000 (01:12 +0100)
committerJilles Tjoelker <redacted>
Thu, 14 Jan 2010 00:12:16 +0000 (01:12 +0100)
modules/core/m_message.c

index c89325038f371b03baf279ff3df74b64b5049b6c..08ccc1d36dd2c33735010dff6c59dd38fc5e6a42 100644 (file)
@@ -516,6 +516,7 @@ msg_channel(int p_or_n, const char *command,
                        sendto_channel_flags(client_p, ALL_MEMBERS, source_p, chptr,
                                             "%s %s :%s", command, chptr->chname, text);
                        if (p_or_n != NOTICE && *text == '\001' &&
+                                       strncasecmp(text + 1, "ACTION", 6) &&
                                        rb_dlink_list_length(&chptr->locmembers) > (unsigned)(GlobalSetOptions.floodcount / 2))
                                source_p->large_ctcp_sent = rb_current_time();
                }