mirror of
https://github.com/anope/anope.git
synced 2026-06-25 03:06:37 +02:00
Process all socket events before connecting to the uplink.
This ensures that the SQL import actually succeeds before we do something that might terminate the process.
This commit is contained in:
@@ -562,6 +562,7 @@ bool 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