0
0
Fork 0
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:
Jason Volk 2020-04-24 22:47:57 -07:00
parent 11f2eff4d9
commit a1633aefbe

View file

@ -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>();