Warn when unknown variables are found in [Features] section

This commit is contained in:
Alexander Barton 2011-03-25 12:12:20 +01:00
parent 6cb90f399d
commit f1a4a4dc88
1 changed files with 4 additions and 0 deletions

View 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