]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/inspircd.filter.example
Add m_restrictbanned.so, disalows banned users on a channel from messaging the channe...
[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 # none          This action causes nothing to be done except logging. This
16 #               is the default action if none is specified.
17 #
18 # kill          This disconnects the user, with the 'reason' parameter as
19 #               the kill reason.
20 #
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 permenant.
25 #
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.
28
29 # Example filters for m_filter:
30 #
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">
34
35 # An example regexp filter for m_filter_pcre:
36 #
37 # <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h">
38