From 3d0bbdcbe1372dd115ed05d78b32f04bd31ce840 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 14 Jan 2010 01:12:16 +0100 Subject: [PATCH] Do not set large_ctcp_sent for CTCP ACTION as it does not request a reply. --- modules/core/m_message.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/m_message.c b/modules/core/m_message.c index c8932503..08ccc1d3 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -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(); }