X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FProtocol.txt;h=5093eea9f3ace44b40b5c6388f0395dcc66f4693;hb=95e156b51963b0554bf815bbfc258cbc3b488598;hp=2b7e7b875d226a5586331dc7994da8ea7850a57e;hpb=07f241ff6d3afee88d6c6b3e2ed1e195c0367c91;p=ngircd-alex.git diff --git a/doc/Protocol.txt b/doc/Protocol.txt index 2b7e7b87..5093eea9 100644 --- a/doc/Protocol.txt +++ b/doc/Protocol.txt @@ -141,11 +141,17 @@ therefore to disconnect the peer prior to registering it in the network. II.3 Exchange channel-modes, topics, and persistent channels Command: CHANINFO - Parameters: + [] + Parameters: + [[ ] ] Used by: servers only CHANINFO is used by servers to inform each other about a channel: its -modes, channel key, user limits and its topic. is optional. +modes, channel key, user limits and its topic. The parameter combination + and is optional, as well as the parameter, so that +there are three possible forms of this command: + + CHANINFO + + CHANINFO + + CHANINFO + If the channel already exists on the server receiving the CHANINFO command, it only adopts the (or the ) if there are no modes (or topic)