mirror of
https://github.com/matrix-construct/construct
synced 2024-05-28 15:53:46 +02:00
ircd:Ⓜ️:homeserver: Restore -noautomod functionality.
This commit is contained in:
parent
11f2eff4d9
commit
a1633aefbe
|
@ -250,8 +250,9 @@ ircd::m::homeserver::homeserver(const struct opts *const &opts)
|
|||
begin(matrix::module_names), end(matrix::module_names)
|
||||
}
|
||||
{
|
||||
for(const auto &name : modules)
|
||||
mods::imports.emplace(std::string{name}, name);
|
||||
if(ircd::mods::autoload)
|
||||
for(const auto &name : modules)
|
||||
mods::imports.emplace(std::string{name}, name);
|
||||
|
||||
if(primary == this)
|
||||
vm = std::make_shared<vm::init>();
|
||||
|
|
Loading…
Reference in a new issue