diff options
| author | Adam <Adam@anope.org> | 2012-11-16 00:03:15 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-11-16 00:03:15 -0500 |
| commit | 5d6fb2427e2c396239b854951ad4b8d4e3952657 (patch) | |
| tree | 7ba24105fae1615fb972ccf7d02e34b27327a51c /modules/database | |
| parent | ad3d1d381a29598338c4687ca1a7a334a9fc71d5 (diff) | |
Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode
Diffstat (limited to 'modules/database')
| -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 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); } |
