summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-31 01:25:10 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-31 01:25:10 +0000
commit657e1deb590eaba38ea3e9a9fb353dc0e23c1a41 (patch)
tree49f2c00ae2cd99cd72ae0b7afe9174848bf3041b /src/main.c
parentc595e6755de6ecfd1fec58c48ec28c926478da01 (diff)
Added in new plaintext databases. Note: This currently has no automatic backup feature. Big thanks to Phil on this for mass scale testing
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 9d6fc1c94..3bbf8cf2a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,7 +29,6 @@
#include "services.h"
#include "timers.h"
#include "version.h"
-#include "datafiles.h"
#include "modules.h"
// getrlimit.
@@ -136,7 +135,8 @@ extern void expire_all()
void save_databases()
{
- FOREACH_MOD(I_OnSaveDatabase, OnSaveDatabase())
+ EventReturn MOD_RESULT;
+ FOREACH_RESULT(I_OnSaveDatabase, OnSaveDatabase());
if (debug)
alog("debug: Saving FFF databases");
}