1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +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
+1
View File
@@ -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)
+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);
}