mirror of
https://github.com/anope/anope.git
synced 2026-06-26 10:36:38 +02:00
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
This commit is contained in:
+1
-1
@@ -463,7 +463,7 @@ void Anope::Init(int ac, char **av)
|
||||
/* Load up databases */
|
||||
Log() << "Loading databases...";
|
||||
EventReturn MOD_RESULT;
|
||||
FOREACH_RESULT(I_OnLoadDatabase, OnLoadDatabase());
|
||||
FOREACH_RESULT(OnLoadDatabase, MOD_RESULT, ());
|
||||
static_cast<void>(MOD_RESULT);
|
||||
Log() << "Databases loaded";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user