summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-29 17:53:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-29 17:53:23 +0000
commit6981d78d99d399b2c19816480ac60fbd23fd109d (patch)
tree50518bb76d09501db068a51e2dac639c8dc1caee
parent312bd003e10a6eabfb29d1b3791c757b3056b4b4 (diff)
Update this example conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7186 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--conf/inspircd.filter.example19
1 files changed, 15 insertions, 4 deletions
diff --git a/conf/inspircd.filter.example b/conf/inspircd.filter.example
index 92260fd9f..7623a4472 100644
--- a/conf/inspircd.filter.example
+++ b/conf/inspircd.filter.example
@@ -5,6 +5,7 @@
# <keyword pattern="any glob pattern here"
# reason="reason for filtering"
# action="action to take"
+# flags="filter flags"
# duration="optional length of gline">
#
# Valid actions for 'action' are:
@@ -28,14 +29,24 @@
#
# You can add filters from IRC using the /FILTER command. If you do this, they
# will be set globally to your entire network.
+#
+# Valid characters for 'flags' are one or more of:
+#
+# p: Block private and channel messages
+# n: Block private and channel notices
+# P: Block part messages
+# q: Block quit messages
+# o: Don't match against opers
+# *: Represents all of the above flags
+# -: Does nothing, a non-op for when you do not want to specify any flags
# 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">
+# <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:
#
-# <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h">
+# <keyword pattern="^blah.*?$" reason="Dont blah!" action="gline" duration="1d6h" flags="pnPq">