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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user