1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +02:00

Add new bar item "away" (now displayed by default in input bar)

This commit is contained in:
Sebastien Helleu
2009-03-26 18:58:00 +01:00
parent 5046e49747
commit 6e7b62be97
3 changed files with 38 additions and 17 deletions
+2 -2
View File
@@ -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;
}