Skip to content

Commit

Permalink
ssldownloads: Use configDirectory over configfile.dirName
Browse files Browse the repository at this point in the history
  • Loading branch information
zorael committed Jan 23, 2024
1 parent 49bee56 commit ad7d994
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/kameloso/ssldownloads.d
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ auto downloadWindowsSSL(
if (shouldDownloadCacert)
{
import kameloso.string : doublyBackslashed;
import std.path : dirName;

if (instance.connSettings.caBundleFile.length)
{
Expand Down Expand Up @@ -125,7 +124,7 @@ auto downloadWindowsSSL(
{
// Save next to the configuration file
instance.connSettings.caBundleFile = buildNormalizedPath(
instance.settings.configFile.dirName,
instance.settings.configDirectory,
"cacert.pem");
}

Expand Down

0 comments on commit ad7d994

Please sign in to comment.