1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 10:26:38 +02:00

Moved parse_options() from init_secondary() to init_primary(), this allows for easier debugging when using -nofork.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1426 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-05 21:54:18 +00:00
parent eda321aa90
commit 1961fa282b
+2 -3
View File
@@ -381,6 +381,8 @@ int init_primary(int ac, char **av)
/* Parse command line for -dir and -version options. */
parse_dir_options(ac, av);
/* Parse all remaining command-line options. */
parse_options(ac, av);
/* Chdir to Services data directory. */
if (chdir(services_dir) < 0) {
@@ -424,9 +426,6 @@ int init_secondary(int ac, char **av)
/* Add Core MSG handles */
moduleAddMsgs();
/* Parse all remaining command-line options. */
parse_options(ac, av);
/* Parse the defcon mode string if needed */
if (DefConLevel) {
if (!defconParseModeString(DefConChanModes)) {