From 6da02ba9984e9e81d61e87aaab669ed2e82404c0 Mon Sep 17 00:00:00 2001 From: Stephen Bennett Date: Sun, 2 May 2010 22:18:13 +0100 Subject: [PATCH] Update MLOCK protocol documentation to match changes in code --- doc/technical/ts6-protocol.txt | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/technical/ts6-protocol.txt b/doc/technical/ts6-protocol.txt index 64beadb..76e3fc2 100644 --- a/doc/technical/ts6-protocol.txt +++ b/doc/technical/ts6-protocol.txt @@ -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.