From e858f5cd0a406bbcdf49a974ef10836088c21b3a Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Sun, 26 Oct 2008 23:55:23 +0000 Subject: Started defcon block in new config, added defaultlevel directive to it. Added ValidateDefCon function to validate certain DefCon related directives. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1491 5417fbe8-f217-4b02-8779-1006273d7864 --- data/example_new.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'data') diff --git a/data/example_new.conf b/data/example_new.conf index 224746c67..f33bfc6a3 100644 --- a/data/example_new.conf +++ b/data/example_new.conf @@ -864,3 +864,20 @@ operserv */ opersonly = yes } + +/* + * [OPTIONAL] DefCon Config + * + * This section is used to set up the DefCon system of OperServ. The block is optional and can be + * removed if you wish to disable DefCon in it's entirety. Unless specified otherwise, all directives + * are required if you do wish to use DefCon. + */ +defcon +{ + /* + * Default DefCon level (1-5) to use when starting Services up. Level 5 constitutes normal operation + * while level 1 constitutes the most restrictive operation. If this setting is left out or set to + * 0, DefCon will be disabled and the rest of this block will be ignored. + */ + #defaultlevel = 5 +} -- cgit