From: Alexander Barton Date: Fri, 25 Mar 2011 11:12:20 +0000 (+0100) Subject: Warn when unknown variables are found in [Features] section X-Git-Tag: rel-18-rc1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1a4a4dc882e28affb0f2f3b940e5762df230ccd;p=ngircd Warn when unknown variables are found in [Features] section --- diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index d27a2ddb..32461f35 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -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