summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-upgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-upgrade.c')
-rw-r--r--src/plugins/irc/irc-upgrade.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-upgrade.c b/src/plugins/irc/irc-upgrade.c
index 76d364c14..ec28e9774 100644
--- a/src/plugins/irc/irc-upgrade.c
+++ b/src/plugins/irc/irc-upgrade.c
@@ -202,7 +202,8 @@ irc_upgrade_read_cb (int object_id,
irc_current_server = irc_upgrade_current_server;
}
}
- irc_upgrade_current_server->current_address = weechat_infolist_integer (infolist, "current_address");
+ irc_upgrade_current_server->index_current_address =
+ weechat_infolist_integer (infolist, "index_current_address");
sock = weechat_infolist_integer (infolist, "sock");
if (sock >= 0)