Add tag "away_info" for lines with info about away in irc plugin

This commit is contained in:
Sebastien Helleu 2009-07-04 19:17:18 +02:00
parent c7ec4233a0
commit 12a5b5f82b

View File

@ -99,15 +99,16 @@ irc_display_away (struct t_irc_server *server, const char *string1, const char *
{ {
if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL) if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
{ {
weechat_printf (ptr_channel->buffer, weechat_printf_tags (ptr_channel->buffer,
"%s[%s%s%s %s: %s%s]", "away_info",
IRC_COLOR_CHAT_DELIMITERS, "%s[%s%s%s %s: %s%s]",
IRC_COLOR_CHAT_NICK, IRC_COLOR_CHAT_DELIMITERS,
server->nick, IRC_COLOR_CHAT_NICK,
IRC_COLOR_CHAT, server->nick,
string1, IRC_COLOR_CHAT,
string2, string1,
IRC_COLOR_CHAT_DELIMITERS); string2,
IRC_COLOR_CHAT_DELIMITERS);
} }
} }
} }