summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 19:09:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 19:09:48 +0000
commit89e16b7208f74b0e6cc5e27407ecc8b23b956d3a (patch)
treed843e9782f20ac2939832a305f7cb7ce5fd799ed /docs
parent60a9969b9471dec190d5526b79cb731ea2e1b751 (diff)
Added example config for m_filter.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@425 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs')
-rw-r--r--docs/filter.conf.example24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/filter.conf.example b/docs/filter.conf.example
new file mode 100644
index 000000000..99e133256
--- /dev/null
+++ b/docs/filter.conf.example
@@ -0,0 +1,24 @@
+# Configuration file for m_filter.so (2.0.0.0)
+# C.J.Edwards April 2004.
+#
+
+# The tags for this module are formatted as follows:
+#
+# <keyword pattern="any glob pattern here"
+# reason="reason for filtering"
+# action="action to take">
+#
+# 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.
+#
+# 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.
+
+<keyword pattern="*qwerty*" reason="You qwertied!" action="block">
+<keyword pattern="*killmenow*" reason="As you request." action="kill">
+