From bd62c4891e86370aae7cb3135658fe5577f86630 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 9 Apr 2011 20:52:25 -0400 Subject: [PATCH] Fixed disabling channel levels --- 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 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))