diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-10 18:30:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-10 18:30:55 +0000 |
commit | f6d4ad6893515722cf702a031cb822ca83ed4c76 (patch) | |
tree | 3787cdbaca181e6244e13700692375c5185c2a85 | |
parent | 1d0e16b170f8581e065f0dc880ef689a85906ef5 (diff) |
Finally update this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5671 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | conf/inspircd.filter.example | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/conf/inspircd.filter.example b/conf/inspircd.filter.example index 99e133256..ad9eddf59 100644 --- a/conf/inspircd.filter.example +++ b/conf/inspircd.filter.example @@ -1,24 +1,38 @@ -# 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: # -# <keyword pattern="any glob pattern here" -# reason="reason for filtering" -# action="action to take"> +# <keyword pattern="any glob pattern here" +# reason="reason for filtering" +# action="action to take" +# duration="optional length of gline"> # # 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. +# +# 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. # -# none This action causes nothing to be done except logging. This -# is the default action if none is specified. +# 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 permenant. # -# kill This disconnects the user, with the 'reason' parameter as -# the kill reason. +# You can add filters from IRC using the /FILTER command. If you do this, they +# will be set globally to your entire network. -<keyword pattern="*qwerty*" reason="You qwertied!" action="block"> -<keyword pattern="*killmenow*" reason="As you request." action="kill"> +# Example filters for m_filter: +# +# <keyword pattern="*qwerty*" reason="You qwertied!" action="block"> +# <keyword pattern="*killmenow*" reason="As you request." action="kill"> +# <keyword pattern="*blah*" reason="Dont blah!" action="gline" duration="1d6h"> + +# An example regexp filter for m_filter_pcre: +# +# <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h"> |