From 757be11fff94f59f6bf5ebb0be3772479aa2e866 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 12 Jan 2002 12:47:12 +0000 Subject: [PATCH] Add commas between splitted nicks. patch by Qrczak git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2312 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-netsplit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c index 821f2ea8..061557ca 100644 --- a/src/fe-common/irc/fe-netsplit.c +++ b/src/fe-common/irc/fe-netsplit.c @@ -132,7 +132,7 @@ static void get_server_splits(void *key, NETSPLIT_REC *split, chanrec->nick_count <= netsplit_nicks_hide_threshold) { if (splitchan->op) g_string_append_c(chanrec->nicks, '@'); - g_string_sprintfa(chanrec->nicks, "%s ", split->nick); + g_string_sprintfa(chanrec->nicks, "%s, ", split->nick); if (chanrec->nick_count == netsplit_max_nicks) chanrec->maxnickpos = chanrec->nicks->len; @@ -166,7 +166,7 @@ static void print_server_splits(IRC_SERVER_REC *server, TEMP_SPLIT_REC *rec) for (tmp = rec->channels; tmp != NULL; tmp = tmp->next) { TEMP_SPLIT_CHAN_REC *chan = tmp->data; - g_string_truncate(chan->nicks, chan->nicks->len-1); + g_string_truncate(chan->nicks, chan->nicks->len-2); if (netsplit_max_nicks > 0 && chan->nick_count > netsplit_max_nicks) {