From 1aa0905241cb4317f486d01fde12c6141f864f0c Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 9 Apr 2011 20:52:25 -0400 Subject: [PATCH] Fixed disabling channel levels (cherry picked from commit bd62c4891e86370aae7cb3135658fe5577f86630) --- modules/core/cs_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))