# HG changeset patch # User Matti Hamalainen # Date 1288727498 -7200 # Node ID 1ba67be3ea3c1bf6bc66bbd98517745c570e942c # Parent 5babbff7ca2661bb8592856142609ca27206c44a Use th_cfg_add_string_list() correctly. diff -r 5babbff7ca26 -r 1ba67be3ea3c nnchat.c --- a/nnchat.c Tue Nov 02 21:51:10 2010 +0200 +++ b/nnchat.c Tue Nov 02 21:51:38 2010 +0200 @@ -847,8 +847,8 @@ th_cfg_add_section(&cfg, "server", tmpcfg); th_cfg_add_comment(&cfg, "People to be ignored in ignore mode"); - th_cfg_add_string(&cfg, "ignores", ignoreList, NULL); - + th_cfg_add_string_list(&cfg, "ignores", &nnIgnoreList); + if ((cfgfile = fopen(setConfigFile, "r")) != NULL) th_cfg_read(cfgfile, setConfigFile, cfg); }