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 --- ChangeLog.adoc | 1 + src/plugins/irc/irc-notify.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 5d2262040..9da96ccc1 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -38,6 +38,7 @@ Bug fixes:: * aspell: look for suggestions only if the misspelled word has changed (issue #1175) * buflist: add alternate key codes for kbd:[F1]/kbd:[F2] and kbd:[Alt+F1]/kbd:[Alt+F2] (compatibility with terminals) * buflist: fix warning displayed when script buffers.pl is loaded (issue #1274) + * irc: fix parsing of whois messages in notify * irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (issue #1296) * irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence * irc: fix encoding of italic attribute when colors are removed 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