summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-common-irc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-common-irc.c b/src/fe-common/irc/fe-common-irc.c
index 2c26a44e..e3d23556 100644
--- a/src/fe-common/irc/fe-common-irc.c
+++ b/src/fe-common/irc/fe-common-irc.c
@@ -110,6 +110,7 @@ void fe_common_irc_init(void)
fe_netjoin_init();
fe_irc_modules_init();
+ settings_check();
}
void fe_common_irc_deinit(void)
@@ -138,12 +139,12 @@ void fe_common_irc_finish_init(void)
if (cmdline_nick != NULL) {
/* override nick found from setup */
- iconfig_set_str("settings", "nick", cmdline_nick);
+ settings_set_str("nick", cmdline_nick);
}
if (cmdline_hostname != NULL) {
/* override host name found from setup */
- iconfig_set_str("settings", "hostname", cmdline_hostname);
+ settings_set_str("hostname", cmdline_hostname);
}
if (autocon_server != NULL) {