summaryrefslogtreecommitdiff
path: root/modules/core/cs_access.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_access.cpp')
-rw-r--r--modules/core/cs_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_access.cpp b/modules/core/cs_access.cpp
index 9c180fbd1..7c8a425bf 100644
--- a/modules/core/cs_access.cpp
+++ b/modules/core/cs_access.cpp
@@ -512,7 +512,7 @@ class CommandCSLevels : public Command
Anope::string what = params[2];
/* Don't allow disabling of the founder level. It would be hard to change it back if you dont have access to use this command */
- if (what.equals_ci("FOUNDER"))
+ if (!what.equals_ci("FOUNDER"))
for (int i = 0; levelinfo[i].what >= 0; ++i)
{
if (what.equals_ci(levelinfo[i].name))