projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes #627
[quassel.git]
/
src
/
core
/
core.cpp
diff --git
a/src/core/core.cpp
b/src/core/core.cpp
index
e1a5360
..
0b0a999
100644
(file)
--- a/
src/core/core.cpp
+++ b/
src/core/core.cpp
@@
-632,7
+632,13
@@
void Core::setupInternalClientSession(SignalProxy *proxy) {
setupCoreForInternalUsage();
}
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;
// Find or create session for validated user
SessionThread *sess;