diff options
| author | Adam <Adam@anope.org> | 2012-02-26 23:23:15 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-02-26 23:23:15 -0500 |
| commit | a5b9e235ae240439608aa743c9ebb3bf6e7d342a (patch) | |
| tree | 9c3040b865ace191c224a94ef525ab60581c6ba5 /src/servers.cpp | |
| parent | a78790eac4da788a8432d0b83fa72de7853dd697 (diff) | |
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.
Diffstat (limited to 'src/servers.cpp')
| -rw-r--r-- | src/servers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.cpp b/src/servers.cpp index 944285c42..51b47f6c7 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -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(); } |
