summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-notify.c')
-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)