From f7adc0b35b50f06706872a161f1c7476e6e6981e Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 1 Aug 2011 22:37:27 -0400 Subject: Rewrote the access systems and added a flags access system --- modules/core/cs_set_secureops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core/cs_set_secureops.cpp') diff --git a/modules/core/cs_set_secureops.cpp b/modules/core/cs_set_secureops.cpp index f816dc0f8..ed15f7cb5 100644 --- a/modules/core/cs_set_secureops.cpp +++ b/modules/core/cs_set_secureops.cpp @@ -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; -- cgit