summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-02-04 20:47:59 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-02-04 20:47:59 +0100
commit87932bcb571b4fcfa1fba84fe0885c4159b85d36 (patch)
tree0b6d3c584f382475dea0aebf8125e0507ce12dd8 /src/plugins
parenta511771802aec15c9c850a10f55ac422d8ea1e5a (diff)
downloadweechat-87932bcb571b4fcfa1fba84fe0885c4159b85d36.zip
irc: fix parsing of whois messages in notify
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-notify.c2
1 files changed, 1 insertions, 1 deletions
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)