diff --git a/ChangeLog.adoc b/ChangeLog.adoc index a41737985..b824fe7e7 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -43,6 +43,7 @@ New features:: * irc: rename "ssl" options to "tls", connect with TLS and port 6697 by default * irc: add support of capabilities "batch" and "draft/multiline" (issue #1292, issue #1923) * irc: add support of capability "echo-message" (issue #139) + * irc: display CTCP ACTION to channel on the channel buffer (issue #207) * irc: add modifier "irc_cap_sync_req" (issue #1767) * irc: add support of "LINELEN" in message 005 (max message length in bytes) (issue #1927) * irc: add support of "UTF8ONLY" in message 005 (issue #1688) diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 9d9285206..98f411006 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -1913,8 +1913,12 @@ IRC_COMMAND_CALLBACK(ctcp) /* display message only if capability "echo-message" is NOT enabled */ if (!weechat_hashtable_has_key (ptr_server->cap_list, "echo-message")) { - irc_ctcp_display_send (ptr_server, NULL, ctcp_target, ctcp_type, - ctcp_args); + irc_ctcp_display_send ( + ptr_server, + irc_channel_search (ptr_server, ctcp_target), + ctcp_target, + ctcp_type, + ctcp_args); } irc_ctcp_send (ptr_server, ctcp_target, ctcp_type, ctcp_args); }