From b4c8e74ccb2cb95e492323b8b39950b203e0262f Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 21 Jan 2024 19:41:39 +0100 Subject: 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 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index bd82b1ed..1472e98b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,14 @@ ngIRCd 27 + - 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. So now you 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). - The server "Name" in the "[Global]" section of the configuration file no longer needs to be set: When not set (or empty), ngIRCd now tries to deduce a valid IRC server name from the local host name ("node name"), -- cgit 1.4.1