diff options
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 7c30cb37..f703889f 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -65,9 +65,11 @@ function load_modules_for_host(host) end -- Load auto-loaded modules for this host - for _, module in ipairs(autoload_modules) do - if not disabled_set[module] then - load(host, module); + if hosts[host].type == "local" then + for _, module in ipairs(autoload_modules) do + if not disabled_set[module] then + load(host, module); + end end end |