From 36da0833c5512a72cbf500a2f5faef5a26ed8dae Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 19 Dec 2018 09:02:09 +0000 Subject: Add the tag and switch ListModeBase to always use it. The old method of doing this was: 1. Extremely inconsistently used. Some list modes used and some used their own config tag. 2. Not documented in the slightest. There was a small reference to for the ban mode but nothing else. 3. In some cases conflicting with other config tags. The chanfilter module defined a tag for general config whilst also using it for the max list settings. The new tag avoids these issues entirely. --- docs/conf/inspircd.conf.example | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'docs/conf') diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index 713dc0cb8..91a0bdb15 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -498,18 +498,27 @@ # -#-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-# +#-#-#-#-#-#-#-#-#-#-#-#-#- LIST MODE LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-# # # -# Use these tags to customise the ban limits on a per channel basis. # -# The tags are read from top to bottom, and any tag found which # -# matches the channels name applies the banlimit to that channel. # +# The tag is used customise the maximum number of each list # +# mode that can be set on a channel. # +# The tags are read from top to bottom and the list mode limit from # +# the first tag found which matches the channel name and mode type is # +# applied to that channel. # # It is advisable to put an entry with the channel as '*' at the # -# bottom of the list. If none are specified or no maxbans tag is # +# bottom of the list. If none are specified or no maxlist tag is # # matched, the banlist size defaults to 100 entries. # # # - - +# Allows #largechan to have up to 200 ban entries. +# + +# Allows #largechan to have up to 200 invex entries. +# + +# Allows all channels and list modes not previously matched to have +# up to 100 entries. + #-#-#-#-#-#-#-#-#-#-#- DISABLED FEATURES -#-#-#-#-#-#-#-#-#-#-#-#-#-# # # -- cgit v1.2.3