diff options
-rw-r--r-- | src/plugins/irc/irc-command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 303452c0d..2a852a806 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -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 { |