X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/5ad94b5000b15576521af8a5efc730d57058c839..133755685ef38d8f9ac79ac27c4505b9e96f81fd:/modules/core/m_part.c diff --git a/modules/core/m_part.c b/modules/core/m_part.c index 3159a3f..c69f314 100644 --- a/modules/core/m_part.c +++ b/modules/core/m_part.c @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: m_part.c 98 2005-09-11 03:37:47Z nenolod $ */ #include "stdinc.h" @@ -124,7 +123,7 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, ch * only allow /part reasons in -m chans */ if(reason[0] && (is_any_op(msptr) || !MyConnect(source_p) || - ((can_send(chptr, source_p, msptr) > 0 && + ((can_send(chptr, source_p, msptr) > 0 && ConfigFileEntry.use_part_messages && (source_p->localClient->firsttime + ConfigFileEntry.anti_spam_exit_message_time) < rb_current_time())))) {