1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

/CHANNEL LIST displayed comma at the end of channel options. ugly.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@307 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-10 08:34:20 +00:00 committed by cras
parent 5a94ff859c
commit 7503302d23

View File

@ -163,7 +163,7 @@ static void cmd_channel_list(void)
if (rec->autosendcmd != NULL && *rec->autosendcmd != '\0')
g_string_sprintfa(str, "botcmd: %s, ", rec->autosendcmd);
if (str->len > 1) g_string_truncate(str, str->len-1);
if (str->len > 2) g_string_truncate(str, str->len-2);
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, IRCTXT_CHANSETUP_LINE,
rec->name, rec->ircnet == NULL ? "" : rec->ircnet,
rec->password == NULL ? "" : rec->password, str->str);