summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-07-04 19:17:18 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-07-04 19:17:18 +0200
commit12a5b5f82bc0b8deedbc8b7758d25d298db1e1bb (patch)
tree03e774ee87a64106ea8146ddc6bdd7c70db14f87 /src/plugins/irc
parentc7ec4233a0161e780e51dc1ccac1dcc4ff056a42 (diff)
downloadweechat-12a5b5f82bc0b8deedbc8b7758d25d298db1e1bb.zip
Add tag "away_info" for lines with info about away in irc plugin
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-display.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/plugins/irc/irc-display.c b/src/plugins/irc/irc-display.c
index ee483e540..83d7a2b99 100644
--- a/src/plugins/irc/irc-display.c
+++ b/src/plugins/irc/irc-display.c
@@ -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)
{
- weechat_printf (ptr_channel->buffer,
- "%s[%s%s%s %s: %s%s]",
- IRC_COLOR_CHAT_DELIMITERS,
- IRC_COLOR_CHAT_NICK,
- server->nick,
- IRC_COLOR_CHAT,
- string1,
- string2,
- IRC_COLOR_CHAT_DELIMITERS);
+ weechat_printf_tags (ptr_channel->buffer,
+ "away_info",
+ "%s[%s%s%s %s: %s%s]",
+ IRC_COLOR_CHAT_DELIMITERS,
+ IRC_COLOR_CHAT_NICK,
+ server->nick,
+ IRC_COLOR_CHAT,
+ string1,
+ string2,
+ IRC_COLOR_CHAT_DELIMITERS);
}
}
}