1 # Configuration file for m_filter.so and m_filter_pcre.so
3 # The tags for this module are formatted as follows:
5 # <keyword pattern="any glob pattern here"
6 # reason="reason for filtering"
7 # action="action to take"
8 # duration="optional length of gline">
10 # Valid actions for 'action' are:
12 # block This blocks the line, sends out a notice to all opers with
13 # +s and informs the user that their message was blocked.
15 # silent This blocks the line only, and informs the user their message
16 # was blocked, but does not notify opers.
18 # none This action causes nothing to be done except logging. This
19 # is the default action if none is specified.
21 # kill This disconnects the user, with the 'reason' parameter as
24 # gline G-LINE the user for 'duration' length of time. Durations may
25 # be specified using the notation 1y2d3h4m6s in a similar way to
26 # other glines, omitting the duration or setting it to 0 makes
27 # any glines set by this filter be permanent.
29 # You can add filters from IRC using the /FILTER command. If you do this, they
30 # will be set globally to your entire network.
32 # Example filters for m_filter:
34 # <keyword pattern="*qwerty*" reason="You qwertied!" action="block">
35 # <keyword pattern="*killmenow*" reason="As you request." action="kill">
36 # <keyword pattern="*blah*" reason="Dont blah!" action="gline" duration="1d6h">
38 # An example regexp filter for m_filter_pcre:
40 # <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h">