1
0
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:
Sadie Powell
2024-11-12 17:24:14 +00:00
parent ba11b5eab0
commit 127ea3e68a
+1
View File
@@ -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, ());