1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 18:13:13 +02:00

Dont load mlock from the database until after Anope is connected, it doesnt know all of the available modes until then

This commit is contained in:
Adam
2010-05-19 16:59:16 -04:00
committed by Adam
parent 0358ae062b
commit 3a2c2a916a
8 changed files with 115 additions and 79 deletions
+5
View File
@@ -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