diff options
-rw-r--r-- | modules/database/db_old.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp index ea899edd6..521b58cff 100644 --- a/modules/database/db_old.cpp +++ b/modules/database/db_old.cpp @@ -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); } |