From 8e252955da4f890b16c01dccc4c17abf5c905f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 12 Jan 2024 17:53:19 +0100 Subject: [PATCH] irc: fix info "irc_is_message_ignored" (closes #2059) --- ChangeLog.adoc | 1 + src/plugins/irc/irc-info.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index a51adad97..176b55d42 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -58,6 +58,7 @@ Bug fixes:: * core: fix crash when a custom bar item name is already used by a default bar item (issue #2034) * core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #2033) * api: return NULL instead of empty infolist "key" when context is not found + * irc: fix info "irc_is_message_ignored" (issue #2059) * irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005 * irc: display messages 730/731 (monitored nicks online/offline) even if command `/notify` was not used (issue #2049) * irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c index 56ca90e67..15fec209c 100644 --- a/src/plugins/irc/irc-info.c +++ b/src/plugins/irc/irc-info.c @@ -1262,7 +1262,7 @@ irc_info_init () "irc_is_message_ignored", N_("1 if the nick is ignored (message is not displayed)"), N_("server,message (message is the raw IRC message)"), - &irc_info_info_irc_is_channel_cb, NULL, NULL); + &irc_info_info_irc_is_message_ignored_cb, NULL, NULL); /* info_hashtable hooks */ weechat_hook_info_hashtable (