diff -r f7946c8e502f -r 50525021c2c7 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Fri Feb 04 16:40:38 2022 +0100 +++ b/plugins/mod_bosh.lua Fri Feb 04 17:52:13 2022 +0100 @@ -556,4 +556,6 @@ }); end -module:add_host(); +if require"core.modulemanager".get_modules_for_host("*"):contains(module.name) then + module:add_host(); +end