1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53: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
+2 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.5-rc1, 2011-04-28
v0.3.5-rc1, 2011-04-29
Version 0.3.5 (under dev!)
@@ -63,6 +63,7 @@ Version 0.3.5 (under dev!)
(plugins: irc, relay, xfer, scripts)
* aspell: add section "option" in aspell.conf for speller options (task #11083)
* aspell: fix spellers used after switch of window (bug #32811)
* irc: fix tags for messages sent with /msg command (bug #33169)
* irc: add new options irc.color.topic_old and irc.color.topic_new
* irc: add option "ssl_priorities" in servers (task #10106, debian #624055)
* irc: add modifier "irc_in2_xxx" (called after charset decoding)
+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);