summaryrefslogtreecommitdiff
path: root/data/chanserv.example.conf
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-26 23:23:15 -0500
committerAdam <Adam@anope.org>2012-02-26 23:23:15 -0500
commita5b9e235ae240439608aa743c9ebb3bf6e7d342a (patch)
tree9c3040b865ace191c224a94ef525ab60581c6ba5 /data/chanserv.example.conf
parenta78790eac4da788a8432d0b83fa72de7853dd697 (diff)
Added chanserv:require config option to set which modes must be on all registered channels. Prevents the core from always enforcing +r on every channel, even if chanserv is not loaded.
Diffstat (limited to 'data/chanserv.example.conf')
-rw-r--r--data/chanserv.example.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index f3310b745..312b10dca 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -171,6 +171,26 @@ chanserv
* This directive is optional.
*/
#opersonly = yes
+
+ /*
+ * Default modes for mode lock, these are set on newly registered channels.
+ *
+ * If not set, the default is +nrt.
+ */
+ mlock = "+nrt"
+
+ /*
+ * Modes that will not be allowed to be locked. Oper only modes such as +O
+ * are always restricted from regular users and are not affected by this.
+ * Comment out for no restrictions.
+ */
+ #nomlock = "P"
+
+ /*
+ * Modes that are required to be set and only set on all registered channels.
+ * These modes can not be locked or unlocked.
+ */
+ require = "r"
}
/*