git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1631
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2006-06-18 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/convert-conf.c (finish_features): Do not emit a feature
+ setting that has no values.
+
2006-06-18 Michael Poole <mdpoole@troilus.org>
* ircd/channel.c (mode_parse_key): Outside of burst, allow
continue;
}
+ /* If it had no value before, drop it now since the lexer does
+ * not accept empty strings and the grammar does not accept
+ * empty stringlists.*/
+ if (!feat->values) {
+ fprintf(stdout, "# Above feature had no value.\n");
+ continue;
+ }
+
/* Wasn't remapped, wasn't removed: print it out. */
fprintf(stdout, "\t\"%s\" =", feat->name);
for (sl = feat->values; sl; sl = sl->next)