mirror of
https://github.com/anope/anope.git
synced 2026-06-25 12:36:38 +02:00
Only process sockets after loading the db when using db_sql{_live}.
This avoids slow startups for the 95% of users who are using the db_flatfile database backend.
This commit is contained in:
@@ -556,7 +556,6 @@ void Anope::Init(int ac, char **av)
|
||||
EventReturn MOD_RESULT;
|
||||
FOREACH_RESULT(OnLoadDatabase, MOD_RESULT, ());
|
||||
static_cast<void>(MOD_RESULT);
|
||||
SocketEngine::Process();
|
||||
Log() << "Databases loaded";
|
||||
|
||||
FOREACH_MOD(OnPostInit, ());
|
||||
|
||||
Reference in New Issue
Block a user