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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user