X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=doc%2Fdraft-riikonen-silc-commands-03.nroff;h=203c53081b1f56935737bf2a2b49d5a5c76c52a4;hb=5a014c54d33edcca7c15a2c88b1f4a916a6a99b8;hp=f83ecb91948df6f37e8214dc24a6e234e481133c;hpb=97d6f634fc88ab129e07253314bb7e8cd4e59e42;p=silc.git diff --git a/doc/draft-riikonen-silc-commands-03.nroff b/doc/draft-riikonen-silc-commands-03.nroff index f83ecb91..203c5308 100644 --- a/doc/draft-riikonen-silc-commands-03.nroff +++ b/doc/draft-riikonen-silc-commands-03.nroff @@ -810,10 +810,10 @@ List of all defined commands in SILC follows. 14 SILC_COMMAND_JOIN - Max Arguments: 5 + Max Arguments: 6 Arguments: (1) (2) (3) [] (4) [] - (5) [] + (5) [] (6) [] Join to channel/create new channel. This command is used to join to a channel. If the channel does not exist the channel is @@ -837,13 +837,29 @@ List of all defined commands in SILC follows. of the channel message are produced by the default HMAC or by the provided for the command. + The is Authentication Payload providing the + authentication for gaining founder privileges on the channel + when joining the channel. The client may provide this if it + knows that it is the founder of the channel and that the + SILC_CMODE_FOUNDER_AUTH mode is set on the channel. The server + MUST verify whether the client is able to gain the founder + privileges the same way as the client had given the + SILC_COMMAND_CUMODE command to gain founder privileges. The + client is still able to join the channel even if the founder + privileges could not be gained. If the channel is invite only + channel, the client is able to join the channel only if it + was invited to the channel or was able to gain the founder + privileges. + The server MUST check whether the user is allowed to join to the requested channel. Various modes set to the channel affect the ability of the user to join the channel. These conditions are: o The user MUST be invited to the channel if the channel - is invite-only channel. + is invite-only channel, or MUST provide correct + payload and gain founder privileges, and + bypass the invite-only mode. o The Client ID/nickname/username/host name MUST NOT match any active bans.