changeset 151:303db1141147

Oops, should be th_cfg_add_bool() instead of th_cfg_add_boolean()
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Nov 2010 22:53:29 +0200
parents db5e7a1f1eb3
children 900768340e65
files nnchat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Tue Nov 02 22:52:22 2010 +0200
+++ b/nnchat.c	Tue Nov 02 22:53:29 2010 +0200
@@ -841,7 +841,7 @@
     th_cfg_add_hexvalue(&tmpcfg, "color", &optUserColor, optUserColor);
     
     th_cfg_add_comment(&tmpcfg, "Default setting of ignore mode");
-    th_cfg_add_boolean(&tmpcfg, "ignore", &setIgnoreMode, setIgnoreMode);
+    th_cfg_add_bool(&tmpcfg, "ignore", &setIgnoreMode, setIgnoreMode);
     th_cfg_add_comment(&tmpcfg, "People to be ignored when ignore mode is enabled");
     th_cfg_add_string_list(&tmpcfg, "ignore_list", &nnIgnoreList);
     th_cfg_add_section(&cfg, "general", tmpcfg);