From 20bc8df655197c972122ebbfd8e2688ae9f5cefa Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Mon, 15 Aug 2005 23:04:06 +0000 Subject: [PATCH] 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 --- src/irc/notifylist/notify-ison.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/irc/notifylist/notify-ison.c b/src/irc/notifylist/notify-ison.c index e27e3d60..1492b4b6 100644 --- a/src/irc/notifylist/notify-ison.c +++ b/src/irc/notifylist/notify-ison.c @@ -217,6 +217,7 @@ static void whois_list_send(IRC_SERVER_REC *server, GSList *nicks) if (count >= server->max_whois_in_cmd) { g_string_truncate(str, str->len-1); whois_send(server, str->str, str->str); + g_string_truncate(str, 0); count = 0; } }