]> jfr.im git - irc/blitzed-org/charybdis.git/commitdiff
Update MLOCK protocol documentation to match changes in code
authorStephen Bennett <redacted>
Sun, 2 May 2010 21:18:13 +0000 (22:18 +0100)
committerStephen Bennett <redacted>
Sun, 2 May 2010 21:18:13 +0000 (22:18 +0100)
doc/technical/ts6-protocol.txt

index 64beadbb1e9f1ff5c526e829149d8eb75e1375fd..76e3fc29e5ab014c0db9060e33e0f03c0c93b2f7 100644 (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.