mirror of
https://github.com/anope/anope.git
synced 2026-07-09 18:23:12 +02:00
Rewrote the access systems and added a flags access system
This commit is contained in:
@@ -32,7 +32,7 @@ class CommandCSSetSecureOps : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this->permission.empty() && !check_access(u, ci, CA_SET))
|
||||
if (!this->permission.empty() && !ci->HasPriv(u, CA_SET))
|
||||
{
|
||||
source.Reply(ACCESS_DENIED);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user