summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-09 20:52:25 -0400
committerAdam <Adam@anope.org>2011-04-09 20:54:00 -0400
commit1aa0905241cb4317f486d01fde12c6141f864f0c (patch)
treec29afb08a516f628d4d555a97e6308cfde0dcacd
parent255d76ccc1f81251ddcc63427b768ac25d0d89b8 (diff)
Fixed disabling channel levels
(cherry picked from commit bd62c4891e86370aae7cb3135658fe5577f86630)
-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))