1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 21:56:38 +02:00

Check for NOJOIN being < 0 but restricted on in db_old

This commit is contained in:
Adam
2012-12-15 02:44:53 -05:00
parent dcd34d3728
commit fe7fcc2dc3
+3
View File
@@ -774,6 +774,9 @@ static void LoadChannels()
if (level == ACCESS_INVALID)
level = ACCESS_FOUNDER;
if (j == 10 && level < 0) // NOJOIN
ci->UnsetFlag(CI_RESTRICTED); // If CSDefRestricted was enabled this can happen
ci->SetLevel(GetLevelName(j), level);
}