diff --git a/src/Config.cpp b/src/Config.cpp index 2d42d7da..835f2123 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -70,7 +70,7 @@ void Config::Load() // future loads use the override flag. if (FirstLoad) { FirstLoad = false; - if (!ServerPassword.isEmpty()) { + if (ServerPassword.isEmpty()) { blog(LOG_INFO, "[Config::Load] (FirstLoad) Generating new server password."); ServerPassword = QString::fromStdString(Utils::Crypto::GeneratePassword()); } else {