summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-10 05:51:21 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-10 05:51:21 +0000
commit20d3109377483a6a06ff9d62774b39989bb1a8f4 (patch)
tree6b41d0d9becb952b4bca46a6f9284c5033778cf2 /src/init.c
parente087af8c27ab8da9299531c3019be43f060df34e (diff)
BUILD : 1.7.5 (383) BUGS : N/A NOTES : glist fix - DrStein, improved on DrStein typo fix to init.c - TSL, tons of NULL crash checks - TSL
git-svn-id: svn://svn.anope.org/anope/trunk@383 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@252 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/init.c b/src/init.c
index 7843e9d77..83a6866a0 100644
--- a/src/init.c
+++ b/src/init.c
@@ -591,31 +591,38 @@ int init(int ac, char **av)
if (!skeleton) {
load_ns_dbase();
if (debug)
- alog("debug: Loaded %s database (1/8)", s_NickServ);
+ alog("debug: Loaded %s database (1/%d)", s_NickServ,
+ (PreNickDBName ? 8 : 7));
if (s_HostServ) {
load_hs_dbase();
if (debug)
- alog("debug: Loaded %s database (2/8)", s_HostServ);
+ alog("debug: Loaded %s database (2/%d)", s_HostServ,
+ (PreNickDBName ? 8 : 7));
}
if (s_BotServ) {
load_bs_dbase();
if (debug)
- alog("debug: Loaded %s database (3/8)", s_BotServ);
+ alog("debug: Loaded %s database (3/%d)", s_BotServ,
+ (PreNickDBName ? 8 : 7));
} else if (debug)
- alog("debug: BotServ database (3/8) not loaded because BotServ is disabled");
+ alog("debug: BotServ database (3/%d) not loaded because BotServ is disabled", (PreNickDBName ? 8 : 7));
load_cs_dbase();
if (debug)
- alog("debug: Loaded %s database (4/8)", s_ChanServ);
+ alog("debug: Loaded %s database (4/%d)", s_ChanServ,
+ (PreNickDBName ? 8 : 7));
}
load_os_dbase();
if (debug)
- alog("debug: Loaded %s database (5/8)", s_OperServ);
+ alog("debug: Loaded %s database (5/%d)", s_OperServ,
+ (PreNickDBName ? 8 : 7));
load_news();
if (debug)
- alog("debug: Loaded news database (6/8)");
+ alog("debug: Loaded news database (6/%d)",
+ (PreNickDBName ? 8 : 7));
load_exceptions();
if (debug)
- alog("debug: Loaded exception database (7/8)");
+ alog("debug: Loaded exception database (7/%d)",
+ (PreNickDBName ? 8 : 7));
if (PreNickDBName) {
load_ns_req_db();
if (debug)