summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp2
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();
}