mirror of
https://github.com/anope/anope.git
synced 2026-07-07 06:53:13 +02:00
Allow modules to add their own channel levels
This commit is contained in:
@@ -32,7 +32,7 @@ class CommandCSSetSecureOps : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
if (source.permission.empty() && !ci->AccessFor(u).HasPriv(CA_SET))
|
||||
if (source.permission.empty() && !ci->AccessFor(u).HasPriv("SET"))
|
||||
{
|
||||
source.Reply(ACCESS_DENIED);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user