diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-27 00:30:34 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-27 00:30:34 +0000 |
| commit | 3d7a2c1794320a583df10b389a2cc6a30d55a8a1 (patch) | |
| tree | c35b11a43db93a8b1a8550ce0262638a07625b04 /data | |
| parent | e858f5cd0a406bbcdf49a974ef10836088c21b3a (diff) | |
Added level4, level3, level2, and level1 directives to defcon block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1492 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data')
| -rw-r--r-- | data/example_new.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/example_new.conf b/data/example_new.conf index f33bfc6a3..e02c087ca 100644 --- a/data/example_new.conf +++ b/data/example_new.conf @@ -880,4 +880,25 @@ defcon * 0, DefCon will be disabled and the rest of this block will be ignored. */ #defaultlevel = 5 + + /* + * The following 4 directives define what operations will take place when DefCon is set to levels + * 1 through 4. Each level is a list that must be separated by spaces. + * + * The following operations can be defined at each level: + * - nonewchannels: Disables registering new channels + * - nonewnicks: Disables registering new nicks + * - nomlockchanges: Disables changing MLOCK on registered channels + * - forcechanmodes: Forces all channels to have the modes given in the later chanmodes directive + * - reducedsessions: Reduces the session limit to the value given in the later sessionlimit directive + * - nonewclients: KILL any new clients trying to connect + * - operonly: Services will ignore all non-IRCops + * - silentoperonly: Services will silently ignore all non-IRCops + * - akillnewclients: AKILL any new clients trying to connect + * - nonewmemos: No new memos will be sent to block MemoServ attacks + */ + level4 = "nonewchannels nonewnicks nomlockchanges reducedsessions" + level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions" + level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly" + level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients" } |
