summaryrefslogtreecommitdiff
path: root/src/core/channels-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/channels-setup.c')
-rw-r--r--src/core/channels-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/channels-setup.c b/src/core/channels-setup.c
index b56ffb6e..5a445114 100644
--- a/src/core/channels-setup.c
+++ b/src/core/channels-setup.c
@@ -77,7 +77,7 @@ static void channel_setup_save(CHANNEL_SETUP_REC *channel)
iconfig_node_set_str(node, "name", channel->name);
iconfig_node_set_str(node, "chatnet", channel->chatnet);
if (channel->autojoin)
- config_node_set_bool(node, "autojoin", TRUE);
+ iconfig_node_set_bool(node, "autojoin", TRUE);
iconfig_node_set_str(node, "password", channel->password);
iconfig_node_set_str(node, "botmasks", channel->botmasks);
iconfig_node_set_str(node, "autosendcmd", channel->autosendcmd);