Commit c35d0dde authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] check if the config session is up when checking for queued msgs

this should fix the systest problem; it seems to trigger a race condition in initialization. If the config session isn't up yet, there will certainly not be any queued messages yet, so simply skipping that should be ok.
parent 64c2d16f
......@@ -219,8 +219,9 @@ class ConfigChecker : public SimpleCallback {
ConfigChecker(AuthSrv* srv) : server_(srv) {}
virtual void operator()(const IOMessage&) const {
if (server_->getConfigSession()->hasQueuedMsgs()) {
ModuleCCSession* cfg_session = server_->getConfigSession();
if (cfg_session != NULL && cfg_session->hasQueuedMsgs()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment