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 953a7c2e7..f95d98f4e 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -67,7 +67,7 @@ void ConfigManager::initServerConfig(const std::string &serverName) FILE *configFile = fopen(configPath.c_str(), "r"); if (!configFile) { - configFile = fopen(configPath.c_str(), "wt"); + configFile = fopen(configPath.c_str(), "wb"); logger->log("Creating new server config: " + configPath); if (configFile) { |