X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=conf%2Finspircd.filter.example;h=8200a028f0cfa27e594640cbf56f1d71a01cc371;hb=c64333e02a4449616683e672739526f4cc762101;hp=92260fd9fb95394430cacad6c937b5bf3b3c4f7e;hpb=75150d58c232a88cc09ff10d0236ef7157b325da;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/conf/inspircd.filter.example b/conf/inspircd.filter.example index 92260fd9f..8200a028f 100644 --- a/conf/inspircd.filter.example +++ b/conf/inspircd.filter.example @@ -5,6 +5,7 @@ # # # Valid actions for 'action' are: @@ -28,14 +29,31 @@ # # You can add filters from IRC using the /FILTER command. If you do this, they # will be set globally to your entire network. +# +# Valid characters for 'flags' are one or more of: +# +# p: Block private and channel messages +# n: Block private and channel notices +# P: Block part messages +# q: Block quit messages +# o: Don't match against opers +# *: Represents all of the above flags +# -: Does nothing, a non-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: # -# -# -# +# +# +# # An example regexp filter for m_filter_pcre: # -# +# +# An example of excluding a channel from filtering: +#