mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-24 10:37:39 +00:00
Warn when unknown variables are found in [Features] section
This commit is contained in:
@@ -1278,6 +1278,10 @@ Handle_FEATURES(int Line, char *Var, char *Arg)
|
|||||||
WarnPAM(Line);
|
WarnPAM(Line);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Config_Error(LOG_ERR,
|
||||||
|
"%s, line %d (section \"Features\"): Unknown variable \"%s\"!",
|
||||||
|
NGIRCd_ConfFile, Line, Var);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user