mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix notify with more nicks than max_whois_in_cmd (Bug 257), based on patch by Krzysztof Kowalik (Borys)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3932 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fa6d77429a
commit
20bc8df655
@ -217,6 +217,7 @@ static void whois_list_send(IRC_SERVER_REC *server, GSList *nicks)
|
|||||||
if (count >= server->max_whois_in_cmd) {
|
if (count >= server->max_whois_in_cmd) {
|
||||||
g_string_truncate(str, str->len-1);
|
g_string_truncate(str, str->len-1);
|
||||||
whois_send(server, str->str, str->str);
|
whois_send(server, str->str, str->str);
|
||||||
|
g_string_truncate(str, 0);
|
||||||
count = 0;
|
count = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user