summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2011-03-25 12:12:20 +0100
committerAlexander Barton <alex@barton.de>2011-03-25 12:12:20 +0100
commitf1a4a4dc882e28affb0f2f3b940e5762df230ccd (patch)
tree1853e03a7b02e5622d1ddcd9c1fe01b9feabf6c8 /src
parent6cb90f399d21f0bdbf3744423c923402f3419b99 (diff)
downloadngircd-f1a4a4dc882e28affb0f2f3b940e5762df230ccd.tar.gz
ngircd-f1a4a4dc882e28affb0f2f3b940e5762df230ccd.zip
Warn when unknown variables are found in [Features] section
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conf.c4
1 files changed, 4 insertions, 0 deletions
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