changeset 144:1ba67be3ea3c

Use th_cfg_add_string_list() correctly.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Nov 2010 21:51:38 +0200
parents 5babbff7ca26
children d2e3a95c74df
files nnchat.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }