update.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 11 Mar 2001 17:40:35 +0000 (17:40 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 11 Mar 2001 17:40:35 +0000 (17:40 +0000)
apps/silc/client_ops.c
doc/draft-riikonen-silc-spec-01.nroff
lib/silcclient/client_notify.c
lib/silcclient/command_reply.c

index 5524529b5a9d3ba6c07980dd8efb2a1babcd88df..c9a5743feb4af904c5bea1652819cf02ab8714a1 100644 (file)
@@ -335,7 +335,7 @@ void silc_client_show_users(SilcClient client,
     len1++;
     k++;
   }
-  
+
   client->ops->say(client, conn, "Users on %s: %s", channel->channel_name, 
                   name_list);
   silc_free(name_list);
index 6032a360c745d61b2a4288f0034836f3c7995538..e1ad3e515c203cc855ebb6e7db3634378a3a3076 100644 (file)
@@ -1213,7 +1213,7 @@ is always in PKCS #1 version 1.5 format.
 Additional public key algorithms may be defined to be used in SILC.
 
 
-.ti0
+.ti 0
 3.10.3 Hash Functions
 
 Hash functions are used as part of MAC algorithms defined in the next
index 3d2b2978ce3ca19591b919d54f37d48413a52b45..a6379da13e8cc8e35c135294dfa8194dc4ae0156 100644 (file)
@@ -192,9 +192,11 @@ void silc_client_notify_by_server(SilcClient client,
     channel = (SilcChannelEntry)id_cache->context;
 
     /* Add client to channel */
-    chu = silc_calloc(1, sizeof(*chu));
-    chu->client = client_entry;
-    silc_list_add(channel->clients, chu);
+    if (client_entry != conn->local_entry) {
+      chu = silc_calloc(1, sizeof(*chu));
+      chu->client = client_entry;
+      silc_list_add(channel->clients, chu);
+    }
 
     /* XXX add support for multiple same nicks on same channel. Check
        for them here */
index d6247a822ff1e170c3759ebfa06f4debb216a7f7..71f55a9af51c8702190265d2a3ea6c7d2c5fd209 100644 (file)
@@ -886,8 +886,6 @@ SILC_CLIENT_CMD_REPLY_FUNC(join)
     } else {
       /* Yes, we have it already */
       client_entry = (SilcClientEntry)id_cache->context;
-      if (client_entry == conn->local_entry)
-       continue;
     }
 
     /* Join the client to the channel */