mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:53:12 +02:00
Add missing refresh of "away" bar item with IRC /away command
This commit is contained in:
@@ -308,6 +308,9 @@ irc_command_away_server (struct t_irc_server *server, const char *arguments,
|
||||
weechat_buffer_set (ptr_channel->buffer, "unread", "");
|
||||
}
|
||||
}
|
||||
|
||||
/* ask refresh for "away" item */
|
||||
weechat_bar_item_update ("away");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -366,6 +369,9 @@ irc_command_away_server (struct t_irc_server *server, const char *arguments,
|
||||
}
|
||||
}
|
||||
irc_server_set_away (server, server->nick, 0);
|
||||
|
||||
/* ask refresh for "away" item */
|
||||
weechat_bar_item_update ("away");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user