diff --git a/src/plugins/irc/irc-batch.c b/src/plugins/irc/irc-batch.c index 9f5bc63c9..76ff79ba2 100644 --- a/src/plugins/irc/irc-batch.c +++ b/src/plugins/irc/irc-batch.c @@ -375,6 +375,8 @@ irc_batch_process_multiline (struct t_irc_server *server, result = weechat_string_dyn_alloc (256); + hash_tags = NULL; + list_messages = weechat_string_split (messages, "\n", NULL, 0, 0, &count_messages); if (!list_messages)