summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-28 15:52:45 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-28 15:52:45 +0000
commite4c8a90f85eae05e88d8c3ff1cb839f4882e5fcb (patch)
tree1311b09b034ff94b3d7ec959aa791719f1731ee5 /conf
parentadfcfa9dfdedaa44d898618814e2bc689e06a1e8 (diff)
Move chanprotect settings from <options> to <chanprotect>.
(why were they not there in the first place?) Document <chanprotect:setprivsonothers>. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10739 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'conf')
-rw-r--r--conf/inspircd.conf.example22
-rw-r--r--conf/modules.conf.example26
2 files changed, 26 insertions, 22 deletions
diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example
index 35c59588c..db963890b 100644
--- a/conf/inspircd.conf.example
+++ b/conf/inspircd.conf.example
@@ -379,28 +379,6 @@
# should be suffixed with.
suffixpart="\""
- # noservices: With this set to no, when a user joins a empty channel,
- # the server will set +q on them. If set to yes, it will only set +o
- # on them until they register the channel.
- noservices="no"
-
- # qprefix: Prefix (symbol) to use for +q users.
- qprefix="~"
-
- # aprefix: Prefix (symbol) to use for +a users.
- aprefix="&"
-
- # deprotectself: If this value is set (true, yes or 1), it will allow
- # +a and +q users to remove the +a and +q from themselves, otherwise,
- # the status will have to be removed by services.
- deprotectself="no"
-
- # deprotectothers: If this value is set to yes, true, or 1, then any
- # user with +q or +a may remove the +q or +a from other users.
- # The default setting is to not enable this feature, so that
- # only +q may remove +a, and nothing but services may remove +q.
- deprotectothers="no"
-
# syntaxhints: If enabled, if a user fails to send the correct parameters
# for a command, the ircd will give back soome help text of what
# the correct parameters are
diff --git a/conf/modules.conf.example b/conf/modules.conf.example
index d4cc65565..5dcff4117 100644
--- a/conf/modules.conf.example
+++ b/conf/modules.conf.example
@@ -363,6 +363,32 @@
# Chanprotect module: gives +q and +a channel modes
#<module name="m_chanprotect.so">
+<chanprotect
+ # noservices: With this set to no, when a user joins a empty channel,
+ # the server will set +q on them. If set to yes, it will only set +o
+ # on them until they register the channel.
+ noservices="no"
+
+ # qprefix: Prefix (symbol) to use for +q users.
+ qprefix="~"
+
+ # aprefix: Prefix (symbol) to use for +a users.
+ aprefix="&"
+
+ # deprotectself: If this value is set (true, yes or 1), it will allow
+ # +a and +q users to remove the +a and +q from themselves, otherwise,
+ # the status will have to be removed by services.
+ deprotectself="yes"
+
+ # deprotectothers: If this value is set to yes, true, or 1, then any
+ # user with +q or +a may remove the +q or +a from other users.
+ deprotectothers="yes"
+
+ # setprivsonothers: If this value is set to yes, true, or 1, then any
+ # user with +q or +a may add the +q or +a to other users.
+ setprivsonothers="yes">
+
+
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Check module: gives /check
# Check is useful for looking up information on channels,