]> arthur.barton.de Git - ngircd.git/commit
Use a default "IncludeDir" only when no config file was specified
authorAlexander Barton <alex@barton.de>
Sun, 21 Jan 2024 18:41:39 +0000 (19:41 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 21 Jan 2024 19:15:47 +0000 (20:15 +0100)
commitb4c8e74ccb2cb95e492323b8b39950b203e0262f
treee2297f118a0ad85cdd8daa1215962247ae773059
parent3ab6c85284b6b6ba9eae8ee30cadcc545bf02178
Use a default "IncludeDir" only when no config file was specified

No longer use a default built-in value for the "IncludeDir" directive
when a configuration file was explicitly specified on the command line
using "--config"/"-f": This way no default include directory is scanned
when a possibly non-default configuration file is used which
(intentionally) did not specify an "IncludeDir" directive.

With this patch you now can use "-f /dev/null" for checking all built-in
defaults, regardless of any local configuration files in the default
drop-in directory (which would have been read in until this change).
ChangeLog
doc/sample-ngircd.conf.tmpl
man/ngircd.conf.5.tmpl
src/ngircd/conf.c
src/ngircd/ngircd.c