diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-02-04 20:47:59 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-02-04 20:47:59 +0100 |
commit | 87932bcb571b4fcfa1fba84fe0885c4159b85d36 (patch) | |
tree | 0b6d3c584f382475dea0aebf8125e0507ce12dd8 | |
parent | a511771802aec15c9c850a10f55ac422d8ea1e5a (diff) | |
download | weechat-87932bcb571b4fcfa1fba84fe0885c4159b85d36.zip |
irc: fix parsing of whois messages in notify
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-notify.c | 2 |
2 files changed, 2 insertions, 1 deletions
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) |