X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=conf%2Finspircd.filter.example;h=8200a028f0cfa27e594640cbf56f1d71a01cc371;hb=513a6fe20da8b51a939fe517ca712666b32d72ac;hp=99e133256e12127244744cd782fcfdef61ea9785;hpb=10e91ca314cfbb533935534129f3adaf1333aed7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/conf/inspircd.filter.example b/conf/inspircd.filter.example index 99e133256..8200a028f 100644 --- a/conf/inspircd.filter.example +++ b/conf/inspircd.filter.example @@ -1,24 +1,59 @@ -# Configuration file for m_filter.so (2.0.0.0) -# C.J.Edwards April 2004. -# +# Configuration file for m_filter.so and m_filter_pcre.so # The tags for this module are formatted as follows: # -# +# # # Valid actions for 'action' are: # -# block This blocks the line, sends out a notice to all opers with -# +s and informs the user that their message was blocked. +# 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. +# +# kill This disconnects the user, with the 'reason' parameter as +# the kill reason. +# +# gline G-LINE the user for 'duration' length of time. Durations may +# be specified using the notation 1y2d3h4m6s in a similar way to +# other glines, omitting the duration or setting it to 0 makes +# any glines set by this filter be permanent. # -# none This action causes nothing to be done except logging. This -# is the default action if none is specified. +# You can add filters from IRC using the /FILTER command. If you do this, they +# will be set globally to your entire network. # -# kill This disconnects the user, with the 'reason' parameter as -# the kill reason. +# 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: +#