summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-26 18:58:00 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-03-26 18:58:00 +0100
commit6e7b62be9723205cb4f7dc69966ed80ed7119dd6 (patch)
tree9c27766e96d678446a6f3c4df47eb3f393ce856f /src/plugins/irc/irc-protocol.c
parent5046e49747444b6e3f218b80252d97f871f8bb0e (diff)
downloadweechat-6e7b62be9723205cb4f7dc69966ed80ed7119dd6.zip
Add new bar item "away" (now displayed by default in input bar)
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c4
1 files changed, 2 insertions, 2 deletions
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;
}