summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-05-19 16:59:16 -0400
committerAdam <Adam@anope.org>2010-06-18 21:03:44 -0400
commit3a2c2a916a26f4fa1844e71a9f1c2fc25337fd2b (patch)
tree93cb603a579699b51b74a450db092ab8db595e1f /include
parent0358ae062b771a3e018ef147f607eae7d0bd8647 (diff)
Dont load mlock from the database until after Anope is connected, it doesnt know all of the available modes until then
Diffstat (limited to 'include')
-rw-r--r--include/regchannel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index e4c6fa6f5..e4e8bfdec 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -232,6 +232,11 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag>
*/
void ClearBadWords();
+ /** Loads MLocked modes from extensible. This is used from database loading because Anope doesn't know what modes exist
+ * until after it connects to the IRCd.
+ */
+ void LoadMLock();
+
/** Check if a mode is mlocked
* @param Name The mode
* @param status True to check mlock on, false for mlock off