]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_join.c
Add chmode +D, which blocks CTCP ACTION.
[irc/rqf/shadowircd.git] / modules / core / m_join.c
index 3c3f75781e682091e5969be40948724196b59beb..c01aba7791bc42182a780852464e906cd461ab21 100644 (file)
@@ -305,7 +305,8 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
                        sendto_one_numeric(source_p, ERR_LINKCHANNEL, form_str(ERR_LINKCHANNEL), name, chptr->chname);
                }
 
-               if(!IsOper(source_p) && !IsExemptSpambot(source_p))
+               if(flags == 0 &&
+                               !IsOper(source_p) && !IsExemptSpambot(source_p))
                        check_spambot_warning(source_p, name);
 
                /* add the user to the channel */