From 3a2c2a916a26f4fa1844e71a9f1c2fc25337fd2b Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 19 May 2010 16:59:16 -0400 Subject: Dont load mlock from the database until after Anope is connected, it doesnt know all of the available modes until then --- include/regchannel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 */ 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 -- cgit