X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=docs%2Fconf%2Ffilter.conf.example;h=ea62efd1f51a31c08b1a298bccb1c45769c05c88;hb=eba2c5ffd3bdea18cc83df12512aba33b5a734a7;hp=45e5d28537a54c9ca48916c785677971343172bf;hpb=f71e6bf9cb41811f18864f5d4eecb26e29d03f25;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/docs/conf/filter.conf.example b/docs/conf/filter.conf.example index 45e5d2853..ea62efd1f 100644 --- a/docs/conf/filter.conf.example +++ b/docs/conf/filter.conf.example @@ -1,4 +1,4 @@ -# Configuration file for m_filter.so +# Configuration file for the filter module # The tags for this module are formatted as follows: # @@ -6,7 +6,7 @@ # reason="reason for filtering" # action="action to take" # flags="filter flags" -# duration="optional length of gline"> +# duration="optional length of gline"> # # Valid actions for 'action' are: # @@ -40,21 +40,26 @@ # c: Strip color codes from text before trying to match # *: Represents all of the above flags # -: Does nothing, a no-op for when you do not want to specify any flags -# -# IMPORTANT NOTE: Because the InspIRCd config reader places special meaning on the -# '\' character, you must use '\\' if you wish to specify a '\' character in a regular -# expression. For example, to indicate numbers, use \\d and not \d. This does not -# apply when adding a regular expression over irc with the /FILTER command. -# Example filters for m_filter: +# Example filters: # # # # -# An example regexp filter for m_filter_pcre: +# An example regexp filter: # # -# An example of excluding a channel from filtering: -# +# You may specify specific channels that are exempt from being filtered: +# +# + +# You can also exempt messages from being filtered if they are sent to +# specific nicks. +# Example that exempts all messages sent *to* NickServ: +# + +# Note that messages *from* services are never subject to filtering; +# tags are only for exempting messages sent *to* the +# configured targets.