1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/OP, /DEOP, etc. commands printed warning if no valid nicks were found.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@658 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-09-10 19:28:56 +00:00 committed by cras
parent 2d16538dec
commit 7a8000f1d2

View File

@ -539,7 +539,7 @@ static char *get_nicks(IRC_CHANNEL_REC *channel,
g_slist_free(nicks); g_slist_free(nicks);
} }
g_string_truncate(str, str->len-1); if (str->len > 0) g_string_truncate(str, str->len-1);
ret = str->str; ret = str->str;
g_string_free(str, FALSE); g_string_free(str, FALSE);
return ret; return ret;