1
0
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:
Adam
2013-08-07 19:40:05 +00:00
parent 7f1b5552dc
commit c480695369
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -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);