From c2cd9fb74f12ec273d8a1226cd1f19538a686d2d Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Wed, 1 Nov 2000 13:39:28 +0000 Subject: [PATCH] bug fix in send_notify_on_channels. --- apps/silcd/server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/silcd/server.c b/apps/silcd/server.c index c36df5b0..3611f429 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -2837,6 +2837,9 @@ void silc_server_send_notify_on_channels(SilcServer server, for (i = 0; i < client->channel_count; i++) { channel = client->channel[i]; + if (!channel) + continue; + /* 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) { -- 2.43.0