X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=0b0a999d8f13c301a20c646ee47f935136d622c6;hb=2edce2d2a5274d4e797aca1f78a2b89fc688f8a1;hp=e1a536000d8b77af8f958458c21419b9b3cfadb1;hpb=bb799766223a6388e476f320ad74720c802b2d83;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index e1a53600..0b0a999d 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -632,7 +632,13 @@ void Core::setupInternalClientSession(SignalProxy *proxy) { setupCoreForInternalUsage(); } - UserId uid = _storage->internalUser(); + UserId uid; + if(_storage) { + uid = _storage->internalUser(); + } else { + qWarning() << "Core::setupInternalClientSession(): You're trying to run monolithic Quassel with an unusable Backend! Go fix it!"; + return; + } // Find or create session for validated user SessionThread *sess;