From ec8459dd413e9b69f9cd58c0de71cf566da76600 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 3 Oct 2019 13:21:50 -0700 Subject: [PATCH] construct: Reenable -nomatrix program option. --- construct/construct.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/construct/construct.cc b/construct/construct.cc index e5b365671..c88c751ef 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -229,7 +229,7 @@ noexcept try // 2 This branch is taken the first time this function is called, // and not taken the second time. - if(level == ircd::run::level::IDLE && !context) + if(level == ircd::run::level::IDLE && !context && !nomatrix) { // 3 Launch the homeserver context (asynchronous). context = { "matrix", homeserver }; @@ -242,7 +242,7 @@ noexcept try return; } - if(level != ircd::run::level::QUIT) + if(level != ircd::run::level::QUIT || !context) return; // 11