summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-23 17:05:59 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-23 17:05:59 +0000
commit4280fac19f44115daab31f6b562a406bbea43953 (patch)
treeb5f8db0c3e24d15a679427b3f9068a532a83c097
parent481b59d3f87042a010c4d39548bd7cf1f56a4073 (diff)
Update doc on m_chanlog
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10231 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--conf/inspircd.conf.example12
-rw-r--r--conf/modules.conf.example10
2 files changed, 10 insertions, 12 deletions
diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example
index f9762b5a5..dc92b66a2 100644
--- a/conf/inspircd.conf.example
+++ b/conf/inspircd.conf.example
@@ -1144,18 +1144,6 @@
# You may also log *everything* by using a type of *, and subtract things out
# of that by using -TYPE - for example "* -USERINPUT -USEROUTPUT".
#
-# Channel Logging
-# ---------------
-#
-# I'm aware this would probably better belong in the modules section, but this
-# is heavily interrelated to logging, and as such will be documented here.
-#
-# m_chanlog is one of the modules which can alter logging to it's own thing.
-# An example of this may be:
-#
-#<module name="m_chanlog.so">
-#<log method="channel" type="OPER USERS CHANNELS" level="default" target="#services">
-#
# The following log tag is highly default and uncustomised. It is recommended you
# sort out your own log tags. This is just here so you get some output.
<log method="file" type="* -USERINPUT -USEROUTPUT -m_spanningtree" level="default" target="ircd.log">
diff --git a/conf/modules.conf.example b/conf/modules.conf.example
index 2e9fe5bcb..226d00870 100644
--- a/conf/modules.conf.example
+++ b/conf/modules.conf.example
@@ -343,6 +343,16 @@
#<module name="m_chanfilter.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Channel logging module: used to send snotice output to channels, to
+# allow staff to centrally monitor and discuss network activity.
+#
+# The "channel" field is where you want the messages to go, "snomasks"
+# is what snomasks you want to be sent to that channe. Multiple tags
+# are allowed.
+#<module name="m_chanlog.so">
+#<chanlog snomasks="AOcC" channel="#opers">
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Channelban: Implements extended ban j:, which stops anyone in already
# in a channel matching a mask like +b j:#channel*mask from joining.
#<module name="m_channelban.so">