summaryrefslogtreecommitdiff
path: root/modules/core/cs_access.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-09 20:52:25 -0400
committerAdam <Adam@anope.org>2011-04-09 20:52:25 -0400
commitbd62c4891e86370aae7cb3135658fe5577f86630 (patch)
tree22df7ab73b8c3d7e3665626b0fa140c6131f941b /modules/core/cs_access.cpp
parent9535541f5aabeae845cc14e407dad29ed023b33d (diff)
Fixed disabling channel levels
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 fb6aa26db..9033fc51d 100644
--- a/modules/core/cs_access.cpp
+++ b/modules/core/cs_access.cpp
@@ -597,7 +597,7 @@ class CommandCSLevels : public Command
const 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))