1
0
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:
Adam
2010-08-28 20:56:45 -04:00
parent 26ba944d55
commit e820e1af0d
12 changed files with 39 additions and 26 deletions
+3 -3
View File
@@ -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;