From 6e7b62be9723205cb4f7dc69966ed80ed7119dd6 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 26 Mar 2009 18:58:00 +0100 Subject: Add new bar item "away" (now displayed by default in input bar) --- src/plugins/irc/irc-protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/irc/irc-protocol.c') diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 7fa8cb446..15e4cee62 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -2670,7 +2670,7 @@ irc_protocol_cmd_305 (struct t_irc_server *server, const char *command, server->is_away = 0; server->away_time = 0; - weechat_bar_item_update ("buffer_name"); + weechat_bar_item_update ("away"); return WEECHAT_RC_OK; } @@ -2704,7 +2704,7 @@ irc_protocol_cmd_306 (struct t_irc_server *server, const char *command, server->is_away = 1; server->away_time = time (NULL); - weechat_bar_item_update ("buffer_name"); + weechat_bar_item_update ("away"); return WEECHAT_RC_OK; } -- cgit v1.2.3