diff options
author | Peter Powell <petpow@saberuk.com> | 2018-10-27 14:18:52 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-10-27 18:31:32 +0100 |
commit | ea7eb543cbbc9d42def708f271ff00e524094a59 (patch) | |
tree | 4bec19ef4e193fb6d525cccc3ed87675b441627c /docs/conf | |
parent | 72e28e60de5dcef99d077f51b7f5f4a32b6b92f1 (diff) |
Remove deprecated config checker and make <die> actually useful.
- Remove the deprecated config tag checker. This checker is neither
exhaustive nor is it particularly accurate. Instead the new docs
site will contain a page detailing the breaking changes between
releases.
- Remove the insulting <die> tags in inspircd.conf.example and add
some descriptive ones in files that it is critical for the user
to edit correctly.
- Show the message from the <die> tag so the user actually knows
what they did wrong.
Diffstat (limited to 'docs/conf')
-rw-r--r-- | docs/conf/inspircd.conf.example | 17 | ||||
-rw-r--r-- | docs/conf/links.conf.example | 4 | ||||
-rw-r--r-- | docs/conf/opers.conf.example | 4 |
3 files changed, 8 insertions, 17 deletions
diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index 9f4581fb3..3ad2d5fd6 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -529,16 +529,6 @@ # # #<disabled commands="TOPIC MODE" usermodes="" chanmodes="" fakenonexistant="yes"> - -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-# -# # -# Just remove this... Its here to make you read ALL of the config # -# file options ;) # - -<die value="You should probably edit your config *PROPERLY* and try again."> - - - #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-# # # # Settings to define which features are usable on your server. # @@ -993,13 +983,6 @@ # will be banning 955 or more users. trigger="95.5"> - -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-# -# # -# You should already know what to do here :) # - -<die value="User error. You didn't edit your config properly. Go back and try again."> - #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# MODULES #-#-#-#-#-#-#-#-#-#-#-#-#-#-# # ____ _ _____ _ _ ____ _ _ _ # # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | # diff --git a/docs/conf/links.conf.example b/docs/conf/links.conf.example index e11c4fe32..ad2efa9f7 100644 --- a/docs/conf/links.conf.example +++ b/docs/conf/links.conf.example @@ -118,3 +118,7 @@ # to opers on the network. # # # <uline server="services.example.com" silent="yes"> + +# Once you have edited this file you can remove this line. This is just to +# ensure that you don't hastily include the file without reading it. +<die reason="Using links.conf.example without editing it is a security risk"> diff --git a/docs/conf/opers.conf.example b/docs/conf/opers.conf.example index c388230b4..4112e56dd 100644 --- a/docs/conf/opers.conf.example +++ b/docs/conf/opers.conf.example @@ -167,3 +167,7 @@ # type: Which type of operator this person is; see the block # above for the list of types. NOTE: This is case-sensitive as well. type="Helper"> + +# Once you have edited this file you can remove this line. This is just to +# ensure that you don't hastily include the file without reading it. +<die reason="Using opers.conf.example without editing it is a security risk"> |