summaryrefslogtreecommitdiff
path: root/modules/database
diff options
context:
space:
mode:
Diffstat (limited to 'modules/database')
-rw-r--r--modules/database/db_old.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index ae63f749c..f09fb2aab 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -771,6 +771,9 @@ static void LoadChannels()
int16_t level;
READ(read_int16(&level, f));
+ if (level == ACCESS_INVALID)
+ level = ACCESS_FOUNDER;
+
ci->SetLevel(GetLevelName(j), level);
}