1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 07:16:39 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2024-11-19 00:40:24 +00:00
+8
View File
@@ -166,6 +166,14 @@ public:
this->import = block->Get<bool>("import");
}
void OnPostInit() override
{
// If we are importing from flatfile we need to force a socket engine
// flush to ensure it actually gets written to the database before we
// connect to the uplink.
SocketEngine::Process();
}
void OnShutdown() override
{
this->shutting_down = true;