]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/newconf.c
Fix a bug I caused. Whoops.
[irc/rqf/shadowircd.git] / src / newconf.c
index d77d095775f81fb13b1f81a6b1a115e825a61a53..597dedb88d327fe8d3c21c2dfbf1a9f5af815912 100644 (file)
@@ -1932,7 +1932,7 @@ conf_call_set(struct TopConf *tc, char *item, conf_parm_t * value, int type)
 
        /* if it takes one thing, make sure they only passed one thing,
           and handle as needed. */
-       if(value->type & CF_FLIST && !(cf->cf_type & CF_FLIST))
+       if(value->type & CF_FLIST && !cf->cf_type & CF_FLIST)
        {
                conf_report_error
                        ("Option %s::%s does not take a list of values.", tc->tc_name, item);