diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-10 13:57:42 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-10 13:57:42 +0000 |
commit | bb4d7566c29162976f1d47ce51c1ffd1ce2041d6 (patch) | |
tree | 796489749de7f4b7bc5db0376f800df0ad434732 /src/irc/notifylist/notify-setup.c | |
parent | afc4fbc2238f9b76df9e704446ec9be64ee2f57b (diff) | |
download | irssi-bb4d7566c29162976f1d47ce51c1ffd1ce2041d6.zip |
iconfig's caching was a bit buggy - it didn't notice if some config node was
removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@213 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/notifylist/notify-setup.c')
-rw-r--r-- | src/irc/notifylist/notify-setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/notifylist/notify-setup.c b/src/irc/notifylist/notify-setup.c index 6ecbfa27..df1dc541 100644 --- a/src/irc/notifylist/notify-setup.c +++ b/src/irc/notifylist/notify-setup.c @@ -35,14 +35,14 @@ void notifylist_add_config(NOTIFYLIST_REC *rec) if (rec->away_check) config_node_set_bool(node, "away_check", TRUE); else - config_node_set_str(node, "away_check", NULL); + iconfig_node_set_str(node, "away_check", NULL); if (rec->idle_check_time > 0) config_node_set_int(node, "idle_check_time", rec->idle_check_time/60); else - config_node_set_str(node, "idle_check_time", NULL); + iconfig_node_set_str(node, "idle_check_time", NULL); - config_node_set_str(node, "ircnets", NULL); + iconfig_node_set_str(node, "ircnets", NULL); if (rec->ircnets != NULL && *rec->ircnets != NULL) { node = config_node_section(node, "ircnets", NODE_TYPE_LIST); config_node_add_list(node, rec->ircnets); |