diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-10 08:34:20 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-10 08:34:20 +0000 |
commit | 7503302d2397f3440a8bae71d22281468bb9ceae (patch) | |
tree | 84b49dd40cb081b23381336d7b483985066d6135 /src | |
parent | 5a94ff859c1a3800a2c842ca9ec8a617823b8c23 (diff) | |
download | irssi-7503302d2397f3440a8bae71d22281468bb9ceae.zip |
/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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-channels.c b/src/fe-common/irc/fe-channels.c index 1859ae7b..764531d8 100644 --- a/src/fe-common/irc/fe-channels.c +++ b/src/fe-common/irc/fe-channels.c @@ -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); |