mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
fe-netsplit: fix nickname truncation to avoid trailing comma-space
This commit is contained in:
parent
f4a4bcb4b8
commit
5416843d2d
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ static void get_server_splits(void *key, NETSPLIT_REC *split,
|
||||||
g_string_append_printf(chanrec->nicks, "%s, ", split->nick);
|
g_string_append_printf(chanrec->nicks, "%s, ", split->nick);
|
||||||
|
|
||||||
if (chanrec->nick_count == netsplit_max_nicks)
|
if (chanrec->nick_count == netsplit_max_nicks)
|
||||||
chanrec->maxnickpos = chanrec->nicks->len;
|
chanrec->maxnickpos = chanrec->nicks->len - 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue