]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/inspircd.filter.example
Also wrong
[user/henk/code/inspircd.git] / conf / inspircd.filter.example
1 # Configuration file for m_filter.so and m_filter_pcre.so
2
3 # The tags for this module are formatted as follows:
4 #
5 # <keyword      pattern="any glob pattern here"
6 #               reason="reason for filtering"
7 #               action="action to take"
8 #               duration="optional length of gline">
9 #
10 # Valid actions for 'action' are:
11 #
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.
14 #
15 # silent        This blocks the line only, and informs the user their message
16 #               was blocked, but does not notify opers.
17 #
18 # none          This action causes nothing to be done except logging. This
19 #               is the default action if none is specified.
20 #
21 # kill          This disconnects the user, with the 'reason' parameter as
22 #               the kill reason.
23 #
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.
28 #
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.
31
32 # Example filters for m_filter:
33 #
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">
37
38 # An example regexp filter for m_filter_pcre:
39 #
40 # <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h">
41