summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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");
}