diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | 2fd6bf39b1b018a7081fafd8350ea88f1b733ea5 (patch) | |
tree | 0dad452b2a0d221aab16417978b4743408c975f4 /src/init.c | |
parent | 0f2719990e6b61c9172e0a4593b7a1605bb29f44 (diff) |
Remove 'skeleton' mode. It's not really all that useful.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1200 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r-- | src/init.c | 52 |
1 files changed, 22 insertions, 30 deletions
diff --git a/src/init.c b/src/init.c index 527df792a..96b3ef39f 100644 --- a/src/init.c +++ b/src/init.c @@ -318,10 +318,6 @@ static int parse_options(int ac, char **av) debug++; } else if (strcmp(s, "readonly") == 0) { readonly = 1; - skeleton = 0; - } else if (strcmp(s, "skeleton") == 0) { - readonly = 0; - skeleton = 1; } else if (strcmp(s, "nofork") == 0) { nofork = 1; } else if (strcmp(s, "logchan") == 0) { @@ -364,7 +360,6 @@ static int parse_options(int ac, char **av) fprintf(stdout, "-debug -debug\n"); fprintf(stdout, "-nofork -nofork\n"); fprintf(stdout, "-logchan -logchan channelname\n"); - fprintf(stdout, "-skeleton -skeleton\n"); fprintf(stdout, "-forceload -forceload\n"); fprintf(stdout, "-nothird -nothird\n"); fprintf(stdout, "-support -support\n"); @@ -540,11 +535,10 @@ int init_secondary(int ac, char **av) write_pidfile(); /* Announce ourselves to the logfile. */ - if (debug || readonly || skeleton) { - alog("Anope %s (ircd protocol: %s) starting up (options:%s%s%s)", + if (debug || readonly) { + alog("Anope %s (ircd protocol: %s) starting up (options:%s%s)", version_number, version_protocol, - debug ? " debug" : "", readonly ? " readonly" : "", - skeleton ? " skeleton" : ""); + debug ? " debug" : "", readonly ? " readonly" : ""); } else { alog("Anope %s (ircd protocol: %s) starting up", version_number, version_protocol); @@ -652,32 +646,30 @@ int init_secondary(int ac, char **av) /* Need a better way to handle this -dane */ if (!UseRDB) { #endif - if (!skeleton) { - load_ns_dbase(); + load_ns_dbase(); + if (debug) + 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 (1/%d)", s_NickServ, + alog("debug: Loaded %s database (2/%d)", s_HostServ, (PreNickDBName ? 8 : 7)); - if (s_HostServ) { - load_hs_dbase(); - if (debug) - alog("debug: Loaded %s database (2/%d)", s_HostServ, - (PreNickDBName ? 8 : 7)); - } else if (debug) { - alog("debug: HostServ database (2/%d) not loaded because HostServ is disabled", (PreNickDBName ? 8 : 7)); - } - if (s_BotServ) { - load_bs_dbase(); - if (debug) - alog("debug: Loaded %s database (3/%d)", s_BotServ, - (PreNickDBName ? 8 : 7)); - } else if (debug) { - alog("debug: BotServ database (3/%d) not loaded because BotServ is disabled", (PreNickDBName ? 8 : 7)); - } - load_cs_dbase(); + } else if (debug) { + alog("debug: HostServ database (2/%d) not loaded because HostServ is disabled", (PreNickDBName ? 8 : 7)); + } + if (s_BotServ) { + load_bs_dbase(); if (debug) - alog("debug: Loaded %s database (4/%d)", s_ChanServ, + alog("debug: Loaded %s database (3/%d)", s_BotServ, (PreNickDBName ? 8 : 7)); + } else if (debug) { + 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/%d)", s_ChanServ, + (PreNickDBName ? 8 : 7)); load_os_dbase(); if (debug) alog("debug: Loaded %s database (5/%d)", s_OperServ, |