Update MLOCK protocol documentation to match changes in code

This commit is contained in:
Stephen Bennett 2010-05-02 22:18:13 +01:00
parent c71a6e3bed
commit 73d83e6db0

View file

@ -457,21 +457,17 @@ Remote LUSERS request. Most servers ignore the server mask, treating it as '*'.
MLOCK
charybdis TS6
source: services server
parameters: channelTS, channel, cmode changes, opt. cmode parameters...
parameters: channelTS, channel, mode letters
propagation: broadcast (restricted)
Propagates a channel mode lock change.
Propagates a channel mode lock change.
If the channelTS is greater (newer) than the current TS of the channel, drop
the message.
On input, only the limit on parameters per line restricts how many cmode
parameters can be present. Apart from this, arbitrary modes shall be
processed. Redundant modes may be dropped. For example, +n-n may be applied and
propagated as +n-n, -n or (if the channel was already -n) nothing, but not as
+n.
The parameter for mode -k (removing a key) shall be ignored.
The final parameter is a list of mode letters that may not be changed by local
users. This applies to setting or unsetting simple modes, and changing or
removing mode parameters.
An MLOCK message with no modes disables the MLOCK, therefore the MLOCK message
always contains the literal MLOCK for simplicity.