diff options
author | Adam <Adam@anope.org> | 2011-11-08 17:29:16 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-11-08 17:29:16 -0500 |
commit | b5ff856f47d8e54d12c568462a06351633c29610 (patch) | |
tree | a4e2f96c59ee49aa5e6cacdfd30db6155151ad36 /modules/database/db_plain.cpp | |
parent | 97b9055f92f21cd91af44a3d5dacce0024536cff (diff) |
Windows
Diffstat (limited to 'modules/database/db_plain.cpp')
-rw-r--r-- | modules/database/db_plain.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/database/db_plain.cpp b/modules/database/db_plain.cpp index 387d5ca61..c28d064cd 100644 --- a/modules/database/db_plain.cpp +++ b/modules/database/db_plain.cpp @@ -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; } |