summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
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;
}
}