1
0
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:
Adam
2011-08-01 22:37:27 -04:00
parent 710c02f3bd
commit f7adc0b35b
72 changed files with 1787 additions and 1333 deletions
+1 -1
View File
@@ -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;