summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r--src/plugins/irc/irc-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index d004160f9..dec1350af 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -3237,11 +3237,11 @@ irc_server_connect (struct t_irc_server *server)
{
if (!irc_server_create_buffer (server))
return 0;
-
weechat_buffer_set (server->buffer, "display", "auto");
- weechat_bar_item_update ("buffer_name");
}
+ weechat_bar_item_update ("buffer_name");
+
irc_server_set_index_current_address (server,
server->index_current_address);