diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:00:41 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:00:41 +0000 |
commit | bcb857f11848ec408c6385780bd1267401d6a54e (patch) | |
tree | 52c55ad6bf6fd3508d7f3df671672da1b572a529 /src/main.c | |
parent | 187c45059a692e63c3ea1e1176d98e080ccf374b (diff) |
Move EVENT_DB_SAVING to newevent.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2108 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
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); } /*************************************************************************/ |