From 87932bcb571b4fcfa1fba84fe0885c4159b85d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 4 Feb 2019 20:47:59 +0100 Subject: irc: fix parsing of whois messages in notify --- src/plugins/irc/irc-notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/irc/irc-notify.c b/src/plugins/irc/irc-notify.c index 85563d52e..e887a30c9 100644 --- a/src/plugins/irc/irc-notify.c +++ b/src/plugins/irc/irc-notify.c @@ -925,7 +925,7 @@ irc_notify_hsignal_cb (const void *pointer, void *data, const char *signal, { for (i = 0; i < num_messages; i++) { - irc_message_parse (ptr_server, messages[0], NULL, NULL, + irc_message_parse (ptr_server, messages[i], NULL, NULL, NULL, NULL, &irc_cmd, NULL, &arguments, NULL, NULL, NULL, NULL, NULL); if (irc_cmd && arguments) -- cgit v1.2.3