mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Merge pull request #1591 from soulseller/fix/netsplit-nickname-truncation
fe-netsplit: fix nickname truncation to avoid trailing comma-space
This commit is contained in:
commit
89dc74cbdd
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