]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_conf.c
Fix VERSION and RPL_MYINFO to only show modes that are enabled. Also fix up some...
[irc/rqf/shadowircd.git] / src / s_conf.c
index 1f3e742e01bca1d9222eff93d5ea1a4e81405002..e09b41fd475fe46fe6f08ddebe7bfdda4a0cf302 100644 (file)
@@ -1005,19 +1005,19 @@ validate_conf(void)
                        if(*dm == 'I')
                        {
                                cflag_orphan('I');
-                               ConfigChannel.use_invex = "NO";
+                               ConfigChannel.use_invex = 0;
                                continue;
                        }
                        if(*dm == 'e')
                        {
                                cflag_orphan('e');
-                               ConfigChannel.use_except = "NO";
+                               ConfigChannel.use_except = 0;
                                continue;
                        }
                        if(*dm == 'f')
                        {
                                cflag_orphan('f');
-                               ConfigChannel.use_forward = "NO";
+                               ConfigChannel.use_forward = 0;
                                continue;
                        }
                        if(*dm == 'j')
@@ -1067,6 +1067,7 @@ validate_conf(void)
                        }
                }
        }
+       construct_cflag_param_string();
        startup = 0;
 }