mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02: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,
|
// 2 This branch is taken the first time this function is called,
|
||||||
// and not taken the second time.
|
// 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).
|
// 3 Launch the homeserver context (asynchronous).
|
||||||
context = { "matrix", homeserver };
|
context = { "matrix", homeserver };
|
||||||
|
@ -242,7 +242,7 @@ noexcept try
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(level != ircd::run::level::QUIT)
|
if(level != ircd::run::level::QUIT || !context)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// 11
|
// 11
|
||||||
|
|
Loading…
Reference in a new issue