1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 09:36:38 +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 a668c8b520
commit de16238e01
+1
View File
@@ -556,6 +556,7 @@ 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, ());