summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index de7506c7e..88b326f47 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -440,6 +440,14 @@ void CapabParse(int ac, const char **av)
}
}
}
+
+ /* Apply MLock now that we know what modes exist (capab is parsed after modes are added to Anope) */
+ for (registered_channel_map::iterator it = RegisteredChannelList.begin(); it != RegisteredChannelList.end(); ++it)
+ {
+ ChannelInfo *ci = it->second;
+
+ ci->LoadMLock();
+ }
}
/*************************************************************************/