summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-08-15 23:04:06 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-08-15 23:04:06 +0000
commit20bc8df655197c972122ebbfd8e2688ae9f5cefa (patch)
tree953ed8d559cd5f13e4e4db4d302d8b22df70aa2f /src/irc
parentfa6d77429a77330fc58b3b7ae35508a3740510b4 (diff)
downloadirssi-20bc8df655197c972122ebbfd8e2688ae9f5cefa.zip
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
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/notifylist/notify-ison.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}