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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user