1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 19:43:14 +02:00

Added chanserv:require config option to set which modes must be on all registered channels. Prevents the core from always enforcing +r on every channel, even if chanserv is not loaded.

This commit is contained in:
Adam
2012-02-26 23:23:15 -05:00
parent a78790eac4
commit a5b9e235ae
18 changed files with 139 additions and 172 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ void Server::Sync(bool SyncLinks)
for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end; ++it)
{
Channel *c = it->second;
check_modes(c);
c->CheckModes();
if (c->ci)
c->ci->RestoreTopic();
}