mirror of
https://github.com/anope/anope.git
synced 2026-06-26 20:36:38 +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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user