summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-upgrade.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-05-12 07:45:07 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-05-12 07:46:01 +0200
commita24817b141f1da76f56db9d034b18365effac37f (patch)
tree629d510611b0648f495f85808f6cf2d5f1a07e33 /src/plugins/irc/irc-upgrade.c
parente1fb8433cefe4467f9fd3ffc21237c0a98a88e4b (diff)
downloadweechat-a24817b141f1da76f56db9d034b18365effac37f.zip
irc: rename server variable "nick_host" to "host"
Diffstat (limited to 'src/plugins/irc/irc-upgrade.c')
-rw-r--r--src/plugins/irc/irc-upgrade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-upgrade.c b/src/plugins/irc/irc-upgrade.c
index 35082bab4..4276d84fe 100644
--- a/src/plugins/irc/irc-upgrade.c
+++ b/src/plugins/irc/irc-upgrade.c
@@ -420,9 +420,9 @@ irc_upgrade_read_cb (const void *pointer, void *data,
str = weechat_infolist_string (infolist, "nick_modes");
if (str)
irc_upgrade_current_server->nick_modes = strdup (str);
- str = weechat_infolist_string (infolist, "nick_host");
+ str = weechat_infolist_string (infolist, "host");
if (str)
- irc_upgrade_current_server->nick_host = strdup (str);
+ irc_upgrade_current_server->host = strdup (str);
/*
* "cap_ls" and "cap_list" replace "cap_away_notify",
* "cap_account_notify" and "cap_extended_join"