1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

irc: display CTCP ACTION to channel on the channel buffer (issue #139, closes #207)

This commit is contained in:
Sébastien Helleu
2023-05-26 12:31:22 +02:00
parent c1ee493073
commit 4c6f503cc7
2 changed files with 7 additions and 2 deletions
+6 -2
View File
@@ -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);
}