X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=5d49ee21dcfe743dd546c210a3ce23ada3ccec1e;hp=51a6f0c48276affaf7299db25484dec2d07338fa;hb=30962d60b9a058e415098130e098430cf70b63f7;hpb=3a4a8a8d5f1f2c38ed9fb6d566ab7a166a78d6e5 diff --git a/src/core/core.cpp b/src/core/core.cpp index 51a6f0c4..5d49ee21 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -189,7 +189,9 @@ void Core::init() quInfo() << "Core is currently not configured! Please connect with a Quassel Client for basic setup."; } } - else { + + // This checks separately because config-from-environment might have only configured the core just now + if (_configured) { if (Quassel::isOptionSet("add-user")) { bool success = createUser(); throw ExitException{success ? EXIT_SUCCESS : EXIT_FAILURE};