diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-11 15:31:34 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-11 15:31:34 +0000 |
commit | 777c6cf07347fe96aee065046cbcbe4ac50fe1fb (patch) | |
tree | fe78d1e3e061d44ff8d713b5a50dc6ee84cadbe1 /src/init.c | |
parent | f06eed98099e6d9ba32aeb6f247e85e0914113d6 (diff) |
Added OnPostDatabaseLoad event, which triggers after the cores databases have been loaded AND immediatly after a module is loaded *if* the core has already been loaded
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2552 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r-- | src/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c index 4c87ae5c4..5cda3e198 100644 --- a/src/init.c +++ b/src/init.c @@ -606,6 +606,7 @@ int init_secondary(int ac, char **av) bi = new BotInfo(s_GlobalNoticer, ServiceUser, ServiceHost, desc_GlobalNoticer); } + FOREACH_MOD(I_OnPostLoadDatabases, OnPostLoadDatabases()); /* Save the databases back to file/mysql to reflect any changes */ alog("Info: Reflecting database records."); save_databases(); |