1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 11:16:38 +02:00
This commit is contained in:
Adam
2011-11-08 17:29:16 -05:00
parent 97b9055f92
commit b5ff856f47
85 changed files with 1277 additions and 1278 deletions
+1 -3
View File
@@ -596,7 +596,6 @@ class DBPlain : public Module
OnReload();
LastDay = 0;
Serializable<Exception>::Alloc.Register("Exception");
}
~DBPlain()
@@ -637,7 +636,7 @@ class DBPlain : public Module
unsigned KeepBackups = Config->KeepBackups;
if (KeepBackups && Backups.size() > KeepBackups)
{
DeleteFile(Backups.front().c_str());
unlink(Backups.front().c_str());
Backups.pop_front();
}
}
@@ -655,7 +654,6 @@ class DBPlain : public Module
/* No need to ever reload this again, although this should never be trigged again */
ModuleManager::Detach(I_OnLoadDatabase, this);
//ModuleManager::Detach(I_OnDatabaseReadMetadata, this);
return EVENT_STOP;
}