Module: ngircd.git Branch: master Commit: f1a4a4dc882e28affb0f2f3b940e5762df230ccd URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=f1a4a...
Author: Alexander Barton alex@barton.de Date: Fri Mar 25 12:12:20 2011 +0100
Warn when unknown variables are found in [Features] section
---
src/ngircd/conf.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index d27a2dd..32461f3 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
ngircd-commits@lists.barton.de