From eb91be2ab6acc8707fad4788cec2b0dae518937d Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 25 Nov 2002 11:25:51 +0000 Subject: [PATCH] Use SILC_IS_LOCAL to check local entry. --- apps/silcd/server_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/silcd/server_util.c b/apps/silcd/server_util.c index da9f695f..5511a3ca 100644 --- a/apps/silcd/server_util.c +++ b/apps/silcd/server_util.c @@ -923,7 +923,7 @@ bool silc_server_channel_has_local(SilcChannelEntry channel) silc_hash_table_list(channel->user_list, &htl); while (silc_hash_table_get(&htl, NULL, (void **)&chl)) { - if (!chl->client->router) { + if (SILC_IS_LOCAL(chl->client)) { silc_hash_table_list_reset(&htl); return TRUE; } -- 2.24.0