mirror of
https://github.com/anope/anope.git
synced 2026-06-27 12:36:38 +02:00
Properly store our clients internal channel status's and burst them if needed.
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a Flags bitset causing crashes on some systems.
This commit is contained in:
+3
-3
@@ -353,9 +353,6 @@ void Init(int ac, char **av)
|
||||
if (!Config->s_GlobalNoticer.empty())
|
||||
new BotInfo(Config->s_GlobalNoticer, Config->ServiceUser, Config->ServiceHost, Config->desc_GlobalNoticer);
|
||||
|
||||
/* Init the log channels */
|
||||
InitLogChannels(Config);
|
||||
|
||||
/* Add Encryption Modules */
|
||||
ModuleManager::LoadModuleList(Config->EncModuleList);
|
||||
|
||||
@@ -437,6 +434,9 @@ void Init(int ac, char **av)
|
||||
rand_init();
|
||||
add_entropy_userkeys();
|
||||
|
||||
/* Init log channels */
|
||||
InitLogChannels(Config);
|
||||
|
||||
/* Load up databases */
|
||||
Log() << "Loading databases...";
|
||||
EventReturn MOD_RESULT;
|
||||
|
||||
Reference in New Issue
Block a user