]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - docs/conf/filter.conf.example
Add support for multiple cloak configurations.
[user/henk/code/inspircd.git] / docs / conf / filter.conf.example
index ef7f50588258bf6d26eb918169398cff1ca579d8..a389d39e159d0ca0ce0c24ad046f79c296eb3edc 100644 (file)
@@ -1,4 +1,4 @@
-# Configuration file for m_filter.so
+# Configuration file for the filter module
 
 # The tags for this module are formatted as follows:
 #
@@ -6,7 +6,7 @@
 #               reason="reason for filtering"
 #               action="action to take"
 #               flags="filter flags"
-#              duration="optional length of gline">
+#               duration="optional length of gline">
 #
 # Valid actions for 'action' are:
 #
 #               other glines, omitting the duration or setting it to 0 makes
 #               any glines set by this filter be permanent.
 #
+# zline         Z-LINE the user for 'duration' length of time. Durations may
+#               be specified using the notation 1y2d3h4m6s in a similar way to
+#               other zlines, omitting the duration or setting it to 0 makes
+#               any zlines set by this filter be permanent.
+#
 # You can add filters from IRC using the /FILTER command. If you do this, they
 # will be set globally to your entire network.
 #
 # c: Strip color codes from text before trying to match
 # *: Represents all of the above flags
 # -: Does nothing, a no-op for when you do not want to specify any flags
-#
-# IMPORTANT NOTE: Because the InspIRCd config reader places special meaning on the
-# '\' character, you must use '\\' if you wish to specify a '\' character in a regular
-# expression. For example, to indicate numbers, use \\d and not \d. This does not
-# apply when adding a regular expression over irc with the /FILTER command.
 
-# Example filters for m_filter:
+# Example filters:
 #
 # <keyword pattern="*qwerty*" reason="You qwertied!" action="block" flags="pn">
 # <keyword pattern="*killmenow*" reason="As you request." action="kill" flags="*">
 # <keyword pattern="*blah*" reason="Dont blah!" action="gline" duration="1d6h" flags="-">
 
-# An example regexp filter for m_filter_pcre:
+# An example regexp filter:
 #
 # <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h" flags="pnPq">