summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-upgrade.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-05-07 13:16:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-05-10 21:59:31 +0200
commit06aa7034fb60b19aba54a873f97a5cd38eb482bc (patch)
tree8f2052486ca5314c137791733490cc1b35a97594 /src/plugins/irc/irc-upgrade.c
parent2073408b86b7b959383d528b3fcb96be0fa39dc8 (diff)
downloadweechat-06aa7034fb60b19aba54a873f97a5cd38eb482bc.zip
irc: add variable "nick_host" in server structure
Diffstat (limited to 'src/plugins/irc/irc-upgrade.c')
-rw-r--r--src/plugins/irc/irc-upgrade.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-upgrade.c b/src/plugins/irc/irc-upgrade.c
index a769c164e..35082bab4 100644
--- a/src/plugins/irc/irc-upgrade.c
+++ b/src/plugins/irc/irc-upgrade.c
@@ -420,6 +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");
+ if (str)
+ irc_upgrade_current_server->nick_host = strdup (str);
/*
* "cap_ls" and "cap_list" replace "cap_away_notify",
* "cap_account_notify" and "cap_extended_join"