X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FProtocol.txt;h=3d2cda6cb23f8bdd33dee20bc643dbfd59dec19c;hb=343a90dc376eb9979151752ec33c64ca45b04802;hp=2b7e7b875d226a5586331dc7994da8ea7850a57e;hpb=07f241ff6d3afee88d6c6b3e2ed1e195c0367c91;p=ngircd-alex.git diff --git a/doc/Protocol.txt b/doc/Protocol.txt index 2b7e7b87..3d2cda6c 100644 --- a/doc/Protocol.txt +++ b/doc/Protocol.txt @@ -1,9 +1,8 @@ ngIRCd - Next Generation IRC Server + http://ngircd.barton.de/ - (c)2001-2008 Alexander Barton, - alex@barton.de, http://www.barton.de/ - + (c)2001-2012 Alexander Barton and Contributors. ngIRCd is free software and published under the terms of the GNU General Public License. @@ -141,11 +140,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) @@ -175,3 +180,34 @@ 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. + +II.5 Client character encoding conversion + + Command: CHARCONV + Parameters: + Used by: registered clients + Replies: RPL_IP_CHARCONV_MSG, ERR_IP_CHARCONV_MSG + + +III. Numerics used by IRC+ Protocol +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The IRC+ protocol uses numerics in the range 800-899 which aren't used by +RFC 2812 and hopefully don't clash with other implementations ... + +Numerics 800-849 are used for status and success messages, and numerics +850-899 are failure and error messages. + + +III.1 IRC+ status and success numerics + +800 - RPL_IP_CHARCONV_MSG + %1 :Client encoding set" + + %1 client character set + + +III.2 IRC+ failure and error numerics + +850 - ERR_IP_CHARCONV_MSG + :Can't initialize client encoding