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:
parent
2d16538dec
commit
7a8000f1d2
@ -539,7 +539,7 @@ static char *get_nicks(IRC_CHANNEL_REC *channel,
|
||||
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;
|
||||
g_string_free(str, FALSE);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user