summaryrefslogtreecommitdiff
path: root/modules/database/db_flatfile.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-26 17:13:11 -0400
committerAdam <Adam@anope.org>2013-05-26 17:13:11 -0400
commit22658d63bdb1e52a66f4514af45fa55ca5891345 (patch)
tree673304ab19f7e077b489354248247867518331f8 /modules/database/db_flatfile.cpp
parentf2dee1e1d642b07947f59f91dfba9af34ef84685 (diff)
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
Diffstat (limited to 'modules/database/db_flatfile.cpp')
-rw-r--r--modules/database/db_flatfile.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/database/db_flatfile.cpp b/modules/database/db_flatfile.cpp
index 19f263e98..27b6ce1a2 100644
--- a/modules/database/db_flatfile.cpp
+++ b/modules/database/db_flatfile.cpp
@@ -8,8 +8,6 @@
* Based on the original code of Services by Andy Church.
*/
-/*************************************************************************/
-
#include "module.h"
class SaveData : public Serialize::Data
@@ -240,7 +238,7 @@ class DBFlatFile : public Module, public Pipe
}
- EventReturn OnSaveDatabase() anope_override
+ void OnSaveDatabase() anope_override
{
BackupDatabase();
@@ -250,7 +248,7 @@ class DBFlatFile : public Module, public Pipe
{
i = fork();
if (i > 0)
- return EVENT_CONTINUE;
+ return;
else if (i < 0)
Log(this) << "Unable to fork for database save";
}
@@ -335,8 +333,6 @@ class DBFlatFile : public Module, public Pipe
this->Notify();
exit(0);
}
-
- return EVENT_CONTINUE;
}
/* Load just one type. Done if a module is reloaded during runtime */