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

irc: add tag with host ("host_xxx") in IRC messages displayed

This commit is contained in:
Sébastien Helleu
2014-04-12 13:22:27 +02:00
parent e901d14a1f
commit c1cce9f1c3
7 changed files with 219 additions and 118 deletions
+4 -2
View File
@@ -592,7 +592,8 @@ irc_command_me_channel_display (struct t_irc_server *server,
weechat_printf_tags (channel->buffer,
irc_protocol_tags ("privmsg",
"irc_action,notify_none,no_highlight",
server->nick),
server->nick,
NULL),
"%s%s%s%s%s%s%s",
weechat_prefix ("action"),
irc_nick_mode_for_display (server, ptr_nick, 0),
@@ -3087,7 +3088,8 @@ irc_command_msg (void *data, struct t_gui_buffer *buffer, int argc,
weechat_printf_tags (ptr_server->buffer,
irc_protocol_tags ("privmsg",
"notify_none,no_highlight",
ptr_server->nick),
ptr_server->nick,
NULL),
"%sMSG%s(%s%s%s)%s: %s",
weechat_prefix ("network"),
IRC_COLOR_CHAT_DELIMITERS,