mirror of
https://github.com/anope/anope.git
synced 2026-06-30 06:56:37 +02:00
Fix db_sql to not remove objects when shutting down, as some modules that unload before it when shutting down remove their items then
This commit is contained in:
@@ -126,6 +126,11 @@ class DBMySQL : public Module, public Pipe
|
||||
init = false;
|
||||
}
|
||||
|
||||
void OnRestart() anope_override
|
||||
{
|
||||
init = false;
|
||||
}
|
||||
|
||||
void OnReload(Configuration::Conf *conf) anope_override
|
||||
{
|
||||
Configuration::Block *block = conf->GetModule(this);
|
||||
|
||||
Reference in New Issue
Block a user