From b74ab3104e30f071ba8ebe2c7b7aab990e6ca0df Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 28 Apr 2002 18:14:52 +0000 Subject: [PATCH] updates. --- CHANGES | 7 +++++++ TODO | 12 ++++++------ doc/draft-riikonen-silc-commands-03.nroff | 12 +++++++++++- doc/draft-riikonen-silc-pp-05.nroff | 13 +++++++------ lib/silccore/silcmode.h | 1 + 5 files changed, 32 insertions(+), 13 deletions(-) diff --git a/CHANGES b/CHANGES index ea45ac93..be5fbcd1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +Sat Apr 27 19:52:32 EEST 2002 Pekka Riikonen + + * Added new QUIET channel user mode that can be used to + quiet a user in a channel. Updated the protocol specs but + it wasn't implemented yet. Protocol TODO #27. Affected + file is lib/silccore/silcmode.h. + Mon Apr 22 09:09:44 CEST 2002 Pekka Riikonen * Added BLOCK_INVITE user mode to be able to block incoming diff --git a/TODO b/TODO index 0e6b1703..2d228658 100644 --- a/TODO +++ b/TODO @@ -43,6 +43,12 @@ TODO/bugs In SILC Server o JOIN (check that joining is allowed) o SIGNOFF (maybe should check that notifier owns the client) + o Implement the SILC_CUMODE_QUIET user mode (Do this to 0.9.x). + + o Implement the and the Attribute Payload to + the core library, client and server. Maybe implementations of + RFC 2425 and RFC 2426 to make it complete. + o Backup router related issues (Fix this to 1.0): o Channel user mode changes are notified unnecessarely when @@ -111,9 +117,3 @@ TODO in SILC Protocol 17. Cell wide channel founder support, and permanent channels when founder mode set. - - 24. Implement the and the Attribute Payload to - the core library, client and server. - - 27. Quiet user mode to quiet a user on channel, settable by chan - op/founder? diff --git a/doc/draft-riikonen-silc-commands-03.nroff b/doc/draft-riikonen-silc-commands-03.nroff index a03a07e8..bde979a3 100644 --- a/doc/draft-riikonen-silc-commands-03.nroff +++ b/doc/draft-riikonen-silc-commands-03.nroff @@ -1487,7 +1487,7 @@ List of all defined commands in SILC follows. 0x00000010 SILC_CUMODE_BLOCK_MESSAGES_ROBOTS Marks that the client wishes not to receive any channel - messages sent from robots. Messages sent by Users with + messages sent from robots. Messages sent by users with the SILC_UMODE_ROBOT user mode set are not delivered. Client MAY set and unset this mode to itself. Client MUST NOT set it to anyone else. When this mode is set server @@ -1495,6 +1495,16 @@ List of all defined commands in SILC follows. to this client. + 0x00000020 SILC_CUMODE_QUIET + + Marks that the client cannot talk on the channel. This + mode can be set by channel operator or channel founder to + some other user that is not operator or founder. The + target client MUST NOT unset this mode. When this mode + is set the server MUST drop messages sent by this client + to the channel. + + Reply messages to the command: Max Arguments: 4 diff --git a/doc/draft-riikonen-silc-pp-05.nroff b/doc/draft-riikonen-silc-pp-05.nroff index 5a888a24..60a8469e 100644 --- a/doc/draft-riikonen-silc-pp-05.nroff +++ b/doc/draft-riikonen-silc-pp-05.nroff @@ -1515,12 +1515,13 @@ UTF-8 [RFC2279] encoded. The is the user's Client ID which is being watched, and the is its nickname. If the client just - changed the nickname, then is the new nickname. - The is the user's current user mode. The can be same as the Notify Payload's Notify Type, and is - 16 bit MSB first order value. If provided it may indicate the - notify that occurred for the client. If client logged in to the - network the MUST NOT be present. + changed the nickname, then is the new nickname, but + the is the old client ID. The is the + user's current user mode. The can be same as the + Notify Payload's Notify Type, and is 16 bit MSB first order value. + If provided it may indicate the notify that occurred for the + client. If client logged in to the network the + MUST NOT be present. .in 3 Notify types starting from 16384 are reserved for private notify diff --git a/lib/silccore/silcmode.h b/lib/silccore/silcmode.h index ba246c12..d081fffe 100644 --- a/lib/silccore/silcmode.h +++ b/lib/silccore/silcmode.h @@ -73,6 +73,7 @@ users */ #define SILC_CHANNEL_UMODE_BLOCK_MESSAGES_ROBOTS 0x00000010 /* Block messages from robots */ +#define SILC_CHANNEL_UMODE_QUIET 0x00000002 /* user is quiet */ /***/ /****d* silccore/Modes/SilcUserMode -- 2.24.0