From de16238e019223eb1b06eb791ec2abdf29b8700c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 12 Nov 2024 17:24:14 +0000 Subject: 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 39d1033c6..e32bafb74 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -556,6 +556,7 @@ void 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, ()); -- cgit