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

irc: add missing tags on CTCP message sent

This commit is contained in:
Sébastien Helleu
2016-11-26 13:49:34 +01:00
parent 649a1d2a0c
commit cfc22c700c
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -1441,9 +1441,13 @@ IRC_COMMAND_CALLBACK(ctcp)
ctcp_type,
(ctcp_args) ? " " : "",
(ctcp_args) ? ctcp_args : "");
weechat_printf (
weechat_printf_date_tags (
irc_msgbuffer_get_target_buffer (
ptr_server, ctcp_target, NULL, "ctcp", NULL),
0,
irc_protocol_tags ("privmsg",
"irc_ctcp,notify_none,no_highlight",
NULL, NULL),
_("%sCTCP query to %s%s%s: %s%s%s%s%s"),
weechat_prefix ("network"),
irc_nick_color_for_msg (ptr_server, 0, NULL, ctcp_target),