diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-15 19:34:54 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-15 19:34:54 +0000 |
commit | 91396de7403c8d6080307ea529d84b5b381d80f9 (patch) | |
tree | 63f89b0be1978720fac9f7b894c6a9565487950c /src | |
parent | afb6d6fd02ae4b45f7a93648a28f9c4a64c0cf71 (diff) | |
download | irssi-91396de7403c8d6080307ea529d84b5b381d80f9.zip |
bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@353 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 764531d8..b38db164 100644 --- a/src/fe-common/irc/fe-channels.c +++ b/src/fe-common/irc/fe-channels.c @@ -135,7 +135,7 @@ static void cmd_channel_list_joined(void) g_string_sprintfa(nicks, "%s ", rec->nick); } - g_string_truncate(nicks, nicks->len-1); + if (nicks->len > 1) g_string_truncate(nicks, nicks->len-1); printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, IRCTXT_CHANLIST_LINE, channel->name, mode, channel->server->tag, nicks->str); |