diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/plugins/irc/irc-channel.c | 25 |
2 files changed, 15 insertions, 12 deletions
@@ -50,6 +50,8 @@ Version 0.4.1 (under dev!) list with arguments inside), guile >= 2.0 is now required (bug #38350) * guile: fix crash on calls to callbacks during load of script (bug #38343) * guile: fix compilation with guile 2.0 +* irc: add tag "irc_nick_back" for messages displayed in private buffer when a + nick is back on server (task #12576) * irc: fix crash on command "/allchan /close" * irc: add option irc.look.display_join_message (task #10895) * irc: fix default completion (like nicks) in commands /msg, /notice, /query and 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; } |