diff options
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r-- | src/configmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 78182477c..f1232235a 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -55,7 +55,7 @@ static void setDefaultOption(const char *const name, */ void ConfigManager::initServerConfig(const std::string &serverName) { - settings.serverConfigDir = settings.configDir + dirSeparator + serverName; + settings.serverConfigDir = pathJoin(settings.configDir, serverName); if (mkdir_r(settings.serverConfigDir.c_str())) { |