X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=conf%2Finspircd.filter.example;h=3aa19aa374b504d8e5c5d5a5ce737ff0fa88cc29;hb=9bea99f973d8ff1148172ab3b4aa93e895bbc37e;hp=e90e4d5f12ef1dcfa7f61c7efadd1a3623ddeaa4;hpb=7f811f8d54c2ee2bc9a5cb3aa1b6dc966d16a38a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/conf/inspircd.filter.example b/conf/inspircd.filter.example index e90e4d5f1..3aa19aa37 100644 --- a/conf/inspircd.filter.example +++ b/conf/inspircd.filter.example @@ -5,6 +5,7 @@ # # # Valid actions for 'action' are: @@ -12,6 +13,9 @@ # block This blocks the line, sends out a notice to all opers with # +s and informs the user that their message was blocked. # +# silent This blocks the line only, and informs the user their message +# was blocked, but does not notify opers. +# # none This action causes nothing to be done except logging. This # is the default action if none is specified. # @@ -25,14 +29,29 @@ # # 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: # -# +#