}
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. */
} 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: