Mercurial > hg > nnchat
comparison nnchat.c @ 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 | f1684884fd56 |
comparison
equal
deleted
inserted
replaced
150:db5e7a1f1eb3 | 151:303db1141147 |
---|---|
839 th_cfg_add_string(&tmpcfg, "password", &optPassword, NULL); | 839 th_cfg_add_string(&tmpcfg, "password", &optPassword, NULL); |
840 th_cfg_add_comment(&tmpcfg, "Default color as a hex-triplet"); | 840 th_cfg_add_comment(&tmpcfg, "Default color as a hex-triplet"); |
841 th_cfg_add_hexvalue(&tmpcfg, "color", &optUserColor, optUserColor); | 841 th_cfg_add_hexvalue(&tmpcfg, "color", &optUserColor, optUserColor); |
842 | 842 |
843 th_cfg_add_comment(&tmpcfg, "Default setting of ignore mode"); | 843 th_cfg_add_comment(&tmpcfg, "Default setting of ignore mode"); |
844 th_cfg_add_boolean(&tmpcfg, "ignore", &setIgnoreMode, setIgnoreMode); | 844 th_cfg_add_bool(&tmpcfg, "ignore", &setIgnoreMode, setIgnoreMode); |
845 th_cfg_add_comment(&tmpcfg, "People to be ignored when ignore mode is enabled"); | 845 th_cfg_add_comment(&tmpcfg, "People to be ignored when ignore mode is enabled"); |
846 th_cfg_add_string_list(&tmpcfg, "ignore_list", &nnIgnoreList); | 846 th_cfg_add_string_list(&tmpcfg, "ignore_list", &nnIgnoreList); |
847 th_cfg_add_section(&cfg, "general", tmpcfg); | 847 th_cfg_add_section(&cfg, "general", tmpcfg); |
848 | 848 |
849 tmpcfg = NULL; | 849 tmpcfg = NULL; |