From 1a14938451df556ae88136374cd1ea05417b5026 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Wed, 14 Feb 2001 17:58:34 +0000 Subject: [PATCH] packet_send_local_channel now actually checks whether the client is locally connected or not. --- CHANGES | 4 ++++ apps/silcd/packet_send.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 09beadc1..62c32f52 100644 --- a/CHANGES +++ b/CHANGES @@ -30,6 +30,10 @@ Wed Feb 14 16:03:25 EET 2001 Pekka Riikonen bet set and the `connection' argument must be NULL to the silc_idlist_add_client function. + * The funtion silc_server_packet_send_local_channel actually did + not check whether the client was locally connected or not. It + does that now. Fixed a bug related to LEAVE command. + Tue Feb 13 19:55:59 EET 2001 Pekka Riikonen * Added --with-gmp configuration option. If set the GMP diff --git a/apps/silcd/packet_send.c b/apps/silcd/packet_send.c index 12e68946..2ecca8b5 100644 --- a/apps/silcd/packet_send.c +++ b/apps/silcd/packet_send.c @@ -606,7 +606,7 @@ void silc_server_packet_send_local_channel(SilcServer server, /* Send the message to clients on the channel's client list. */ silc_list_start(channel->user_list); while ((chl = silc_list_get(channel->user_list)) != SILC_LIST_END) { - if (chl->client) { + if (chl->client && !chl->client->router) { sock = (SilcSocketConnection)chl->client->connection; /* Send the packet to the client */ -- 2.43.0