+Tue Sep 18 22:50:41 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
+
+ * Do not show the private channels on the WHOIS channel list
+ as it is not allowed by the protocol. The affected file is
+ silcd/server.c.
+
Sun Sep 16 12:32:58 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
* Assure that the packet length digged from the actual packet
TODO/bugs In SILC Server
========================
- o Private channels are shown on the USERS channel list. They must not
- be shown.
-
o Add perhaps /var/run/silcd.pid for PID information for the server.
o Add a timeout to handling incmoing JOIN commands. It should be
while (silc_hash_table_get(&htl, NULL, (void *)&chl)) {
channel = chl->channel;
- if (channel->mode & SILC_CHANNEL_MODE_SECRET)
+ if (channel->mode & SILC_CHANNEL_MODE_SECRET ||
+ channel->mode & SILC_CHANNEL_MODE_PRIVATE)
continue;
cid = silc_id_id2str(channel->id, SILC_ID_CHANNEL);
SILC_LOG_DEBUG(("Start"));
if (protocol->state == SILC_PROTOCOL_STATE_ERROR ||
- protocol->state == SILC_PROTOCOL_STATE_FAILURE) {
+ protocol->state == SILC_PROTOCOL_STATE_FAILURE) {
/* Error occured during protocol */
silc_protocol_cancel(protocol, server->schedule);
silc_protocol_free(protocol);