diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-04-21 13:26:32 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-04-21 13:26:32 +0200 |
commit | c8505efac06cd9927cd68b1670c416508096fbd3 (patch) | |
tree | bdf44e13c649008636b3b740966b6d0db47944d3 /src | |
parent | 509a58b1d54420c62b1d9069e91512983f7ca44a (diff) | |
download | weechat-c8505efac06cd9927cd68b1670c416508096fbd3.zip |
irc: add tag "irc_nick_back" for messages displayed in private buffer when a nick is back on server (task #12576)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-channel.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c index 8c5276609..931c24f24 100644 --- a/src/plugins/irc/irc-channel.c +++ b/src/plugins/irc/irc-channel.c @@ -1075,18 +1075,19 @@ irc_channel_display_nick_back_in_pv (struct t_irc_server *server, { if (weechat_config_boolean (irc_config_look_display_pv_back)) { - weechat_printf (ptr_channel->buffer, - _("%s%s%s %s(%s%s%s)%s is back on server"), - weechat_prefix ("join"), - irc_nick_color_for_server_message (server, - nick, - nickname), - (nick) ? nick->name : nickname, - IRC_COLOR_CHAT_DELIMITERS, - IRC_COLOR_CHAT_HOST, - (nick && nick->host) ? nick->host : "", - IRC_COLOR_CHAT_DELIMITERS, - IRC_COLOR_MESSAGE_JOIN); + weechat_printf_tags (ptr_channel->buffer, + "irc_nick_back", + _("%s%s%s %s(%s%s%s)%s is back on server"), + weechat_prefix ("join"), + irc_nick_color_for_server_message (server, + nick, + nickname), + (nick) ? nick->name : nickname, + IRC_COLOR_CHAT_DELIMITERS, + IRC_COLOR_CHAT_HOST, + (nick && nick->host) ? nick->host : "", + IRC_COLOR_CHAT_DELIMITERS, + IRC_COLOR_MESSAGE_JOIN); } ptr_channel->has_quit_server = 0; } |