]> granicus.if.org Git - ngircd/commitdiff
Warn when unknown variables are found in [Features] section
authorAlexander Barton <alex@barton.de>
Fri, 25 Mar 2011 11:12:20 +0000 (12:12 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 25 Mar 2011 11:12:20 +0000 (12:12 +0100)
src/ngircd/conf.c

index d27a2ddbfa3a10e1e05d4be4df9342e069e0be7b..32461f3550ffb127332754e44ae0033bfbd73c86 100644 (file)
@@ -1278,6 +1278,10 @@ Handle_FEATURES(int Line, char *Var, char *Arg)
                WarnPAM(Line);
                return;
        }
+
+       Config_Error(LOG_ERR,
+                    "%s, line %d (section \"Features\"): Unknown variable \"%s\"!",
+                    NGIRCd_ConfFile, Line, Var);
 }
 
 static void