From 127ea3e68a4d8a5d7177a8bb6b16bf06c2312cbe Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 12 Nov 2024 17:24:14 +0000 Subject: [PATCH] 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. --- src/init.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/init.cpp b/src/init.cpp index 8e79bd5bb..85b0e440d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -562,6 +562,7 @@ bool Anope::Init(int ac, char **av) EventReturn MOD_RESULT; FOREACH_RESULT(OnLoadDatabase, MOD_RESULT, ()); static_cast(MOD_RESULT); + SocketEngine::Process(); Log() << "Databases loaded"; FOREACH_MOD(OnPostInit, ());