1
0
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:
Adam
2011-08-28 15:46:15 -04:00
parent 62752db4c4
commit 700a585b1b
67 changed files with 530 additions and 520 deletions
+1 -1
View File
@@ -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;