updates.
authorPekka Riikonen <priikone@silcnet.org>
Thu, 1 Feb 2001 18:04:08 +0000 (18:04 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 1 Feb 2001 18:04:08 +0000 (18:04 +0000)
apps/silcd/packet_receive.c

index 57bdc9e867d38d0cbc69604056a2e21b34ae0096..890e4cd3e847d85135587e0b84ea483114c71539 100644 (file)
@@ -893,6 +893,11 @@ void silc_server_notify(SilcServer server,
     }
     client_id = silc_id_payload_parse_id(tmp, tmp_len);
 
+    /* Send to channel */
+    silc_server_packet_send_to_channel(server, channel, packet->type, FALSE,
+                                      packet->buffer->data, 
+                                      packet->buffer->len, FALSE);
+
     /* If the the client is not in local list we check global list (ie. the
        channel will be global channel) and if it does not exist then create
        entry for the client. */
@@ -919,11 +924,6 @@ void silc_server_notify(SilcServer server,
     } else {
       silc_free(client_id);
     }
-
-    /* Send to channel */
-    silc_server_packet_send_to_channel(server, channel, packet->type, FALSE,
-                                      packet->buffer->data, 
-                                      packet->buffer->len, FALSE);
     break;
 
   case SILC_NOTIFY_TYPE_LEAVE: