diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index ceb31a9f..9f08156c 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -556,4 +556,6 @@ function module.add_host(module) }); end -module:add_host(); +if require"core.modulemanager".get_modules_for_host("*"):contains(module.name) then + module:add_host(); +end |