diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-12 12:47:12 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-12 12:47:12 +0000 |
commit | 757be11fff94f59f6bf5ebb0be3772479aa2e866 (patch) | |
tree | 74749ff812fcf24570644f831f7c504c922b6586 /src | |
parent | e6bf76ed1177f753bbb85dbe77952b82358a76f6 (diff) | |
download | irssi-757be11fff94f59f6bf5ebb0be3772479aa2e866.zip |
Add commas between splitted nicks. patch by Qrczak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2312 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-netsplit.c | 4 |
1 files 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) { |