1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 01:43:14 +02:00

Fixed disabling channel levels

(cherry picked from commit bd62c4891e)
This commit is contained in:
Adam
2011-04-09 20:52:25 -04:00
parent 255d76ccc1
commit 1aa0905241
+1 -1
View File
@@ -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))