1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 23:23:13 +02:00

Fixed disabling channel levels

This commit is contained in:
Adam
2011-04-09 20:52:25 -04:00
parent 9535541f5a
commit bd62c4891e
+1 -1
View File
@@ -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))