summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 6515bd7a0..0abc2f360 100644
--- a/src/main.c
+++ b/src/main.c
@@ -134,7 +134,7 @@ extern void expire_all()
void save_databases()
{
- send_event(EVENT_DB_SAVING, 1, EVENT_START);
+ FOREACH_MOD(I_OnSaveDatabase, OnSaveDatabase())
if (debug)
alog("debug: Saving FFF databases");
backup_databases();
@@ -152,7 +152,6 @@ void save_databases()
save_os_dbase();
save_news();
save_exceptions();
- send_event(EVENT_DB_SAVING, 1, EVENT_STOP);
}
/*************************************************************************/