From: Alexander Barton Date: Thu, 10 Mar 2011 09:43:42 +0000 (+0100) Subject: Update documentation X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=6819d0ec9ded8bc52a44ba55e9aa06a343f2f7dc;hp=2b1db4a05f12490ee96d7d7f2598b8f84c3fba61;p=ngircd-web.git Update documentation --- diff --git a/doc/Protocol.txt b/doc/Protocol.txt index 354b814..5093eea 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) @@ -161,3 +167,17 @@ and therefore can't be omitted. The parameter must be ignored when a channel has no user limit (the parameter doesn't list the "l" channel mode). In this case should be "0". + +II.4 Update webchat/proxy client information + + Command: WEBIRC + Parameters: + Used by: unregistered clients only + +The WEBIRC command is used by some Web-to-IRC gateways to set the correct +user name and host name of users instead of their own. It must be the very +first command sent to the server, even before USER and NICK commands! + +The must be set in the server configuration file to prevent +unauthorized clients to fake their identity; it is an arbitrary string. +