Use MayHavePrivilege for oper:message
This commit is contained in:
parent
396edc6fbd
commit
16a2d0c9d3
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ allow_message(struct Client *source_p, struct Client *target_p)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/* XXX: controversial? allow opers to send through +g */
|
/* XXX: controversial? allow opers to send through +g */
|
||||||
if (HasPrivilege(source_p, "oper:message"))
|
if (MayHavePrivilege(source_p, "oper:message"))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (accept_message(source_p, target_p))
|
if (accept_message(source_p, target_p))
|
||||||
|
|
Loading…
Reference in a new issue