From: Marcus Eggenberger Date: Sun, 15 Mar 2009 21:23:58 +0000 (+0100) Subject: fixes #627 X-Git-Tag: 0.5-rc1~263 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=678ca9d489f9c90a88d51dad0cd532e387abf16f fixes #627 --- diff --git a/src/core/core.cpp b/src/core/core.cpp index 003f6daf..56784298 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -668,7 +668,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;