diff --git a/src/modules/m_part.c b/src/modules/m_part.c index 00f2566b3..bc4ec2fcb 100644 --- a/src/modules/m_part.c +++ b/src/modules/m_part.c @@ -147,7 +147,7 @@ DLLFUNC CMD_FUNC(m_part) continue; } - if (!IsAnOper(sptr) && !is_chanownprotop(sptr, chptr)) { + if (!OperClass_evaluateACLPath("immune:banpartmsg",sptr,NULL,chptr,NULL) && !is_chanownprotop(sptr, chptr)) { /* Banned? No comment allowed ;) */ if (comment && is_banned(sptr, chptr, BANCHK_MSG)) comment = NULL;