diff options
| author | Adam <Adam@anope.org> | 2012-02-26 23:23:15 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-02-26 23:23:15 -0500 |
| commit | a5b9e235ae240439608aa743c9ebb3bf6e7d342a (patch) | |
| tree | 9c3040b865ace191c224a94ef525ab60581c6ba5 /data | |
| parent | a78790eac4da788a8432d0b83fa72de7853dd697 (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')
| -rw-r--r-- | data/chanserv.example.conf | 20 | ||||
| -rw-r--r-- | data/example.conf | 12 |
2 files changed, 20 insertions, 12 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" } /* diff --git a/data/example.conf b/data/example.conf index a746051c0..5744265f0 100644 --- a/data/example.conf +++ b/data/example.conf @@ -465,18 +465,6 @@ options #ulineservers = "stats.your.network" /* - * Default modes for mode lock, these are set on newly registered channels. - */ - 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 = "z" - - /* * Modes to set on service bots when they join channels, comment this out for no modes * * This directive is optional. |
