mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 17:50:16 +01:00
construct: Reenable -nomatrix program option.
This commit is contained in:
parent
096d46e198
commit
ec8459dd41
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue