From 088358ca6166bbd663f7b1e390d09efcd72684fb Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 17 Jul 2001 18:22:24 +0000 Subject: [PATCH] /NAMES -count now prints only the "total" line, not "users(#channel)" anymore git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1641 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-channels.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fe-common/core/fe-channels.c b/src/fe-common/core/fe-channels.c index a2c86e33..e25c3dc8 100644 --- a/src/fe-common/core/fe-channels.c +++ b/src/fe-common/core/fe-channels.c @@ -463,10 +463,11 @@ void fe_channels_nicklist(CHANNEL_REC *channel, int flags) g_slist_free(nicklist); /* display the nicks */ - printformat(channel->server, channel->name, - MSGLEVEL_CRAP, TXT_NAMES, channel->name, ""); - if ((flags & CHANNEL_NICKLIST_FLAG_COUNT) == 0) + if ((flags & CHANNEL_NICKLIST_FLAG_COUNT) == 0) { + printformat(channel->server, channel->name, + MSGLEVEL_CRAP, TXT_NAMES, channel->name, ""); display_sorted_nicks(channel, sorted); + } g_slist_free(sorted); printformat(channel->server, channel->name,