1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 16:43:12 +02:00

Refactor m_part permissions

This commit is contained in:
Travis McArthur
2015-07-05 11:26:42 -07:00
parent 5616f3acf9
commit e342acb0a1
+1 -1
View File
@@ -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;