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 # none This action causes nothing to be done except logging. This
16 # is the default action if none is specified.
18 # kill This disconnects the user, with the 'reason' parameter as
21 # gline G-LINE the user for 'duration' length of time. Durations may
22 # be specified using the notation 1y2d3h4m6s in a similar way to
23 # other glines, omitting the duration or setting it to 0 makes
24 # any glines set by this filter be permanent.
26 # You can add filters from IRC using the /FILTER command. If you do this, they
27 # will be set globally to your entire network.
29 # Example filters for m_filter:
31 # <keyword pattern="*qwerty*" reason="You qwertied!" action="block">
32 # <keyword pattern="*killmenow*" reason="As you request." action="kill">
33 # <keyword pattern="*blah*" reason="Dont blah!" action="gline" duration="1d6h">
35 # An example regexp filter for m_filter_pcre:
37 # <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h">