diff options
author | Ailin Nemui <ailin@esf51.localdomain> | 2015-01-07 03:40:34 +0100 |
---|---|---|
committer | Ailin Nemui <ailin@linux.site> | 2015-02-17 09:50:55 +0100 |
commit | 96d4fb9156bcef6fc14dbec43dfa0fcd0226d46f (patch) | |
tree | 27a1023f98d6a1b908fc4ce65995723cc5c56746 /src/core/chatnets.c | |
parent | 6b08cbe906bc2f13a34aca3195f8808d709c160c (diff) | |
download | irssi-96d4fb9156bcef6fc14dbec43dfa0fcd0226d46f.zip |
add CONFIG_REC to config_node_section* APIs
this adds the CONFIG_REC * to the config_node_section and
config_node_section_index APIs as they will require access to the config
cache later on to make the config parser more robust.
Diffstat (limited to 'src/core/chatnets.c')
-rw-r--r-- | src/core/chatnets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/chatnets.c b/src/core/chatnets.c index 3c794ab4..dd4d94b3 100644 --- a/src/core/chatnets.c +++ b/src/core/chatnets.c @@ -36,7 +36,7 @@ static void chatnet_config_save(CHATNET_REC *chatnet) CONFIG_NODE *node; node = iconfig_node_traverse("chatnets", TRUE); - node = config_node_section(node, chatnet->name, NODE_TYPE_BLOCK); + node = iconfig_node_section(node, chatnet->name, NODE_TYPE_BLOCK); iconfig_node_clear(node); iconfig_node_set_str(node, "type", chat_protocol_find_id(chatnet->chat_type)->name); |