X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=a4133eb12ecec93e6b37dfacff1630900d9c3906;hb=d030c159599a22c9023b8f0d34909d3277707f52;hp=9f9e1c6a5a5e22bbe8614d0c7b8f1516bcb62bd5;hpb=8c6448c2e0048389fbac9e2e9daf22b5b050d5b6;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index 9f9e1c6a..a4133eb1 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -187,7 +187,9 @@ void Core::init() qInfo() << "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};