summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-30 01:04:13 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-30 01:04:13 +0000
commit6a9fa9f4d2ead592eb51a014491ce3aaee2029e8 (patch)
tree454479f2c8ef69a52e461416be42fd94d8b15955 /src/init.c
parent5fc268b7509f20cbf1243b99f2669033b93db00e (diff)
Rewrote all of the defcon code, and moved most of it to os_defcon. This fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/init.c b/src/init.c
index 6373f79c7..4acf9540d 100644
--- a/src/init.c
+++ b/src/init.c
@@ -406,14 +406,6 @@ int init_secondary(int ac, char **av)
/* Parse all remaining command-line options. */
parse_options(ac, av);
- /* Parse the defcon mode string if needed */
- if (DefConLevel) {
- if (!defconParseModeString(DefConChanModes)) {
- fprintf(stderr,
- "services.conf: The given DefConChanModes mode string was incorrect (see log for exact errors)\n");
- return -1;
- }
- }
#ifndef _WIN32
if (!nofork) {
if ((i = fork()) < 0) {