1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

irc: fix tags for messages sent with /msg command (bug #33169)

This commit is contained in:
Sebastien Helleu
2011-04-29 15:41:51 +02:00
parent 02e2b21d3e
commit c47f6e81c4
2 changed files with 14 additions and 10 deletions
+12 -9
View File
@@ -2513,15 +2513,18 @@ irc_command_msg (void *data, struct t_gui_buffer *buffer, int argc,
}
else
{
weechat_printf (ptr_server->buffer,
"%sMSG%s(%s%s%s)%s: %s",
weechat_prefix ("network"),
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT_NICK,
targets[i],
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT,
(string) ? string : argv_eol[arg_text]);
weechat_printf_tags (ptr_server->buffer,
irc_protocol_tags ("privmsg",
"notify_none,no_highlight",
ptr_server->nick),
"%sMSG%s(%s%s%s)%s: %s",
weechat_prefix ("network"),
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT_NICK,
targets[i],
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT,
(string) ? string : argv_eol[arg_text]);
}
if (string)
free (string);