aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index f5173f00..f7594cd9 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -169,7 +169,7 @@ local function do_load_module(host, module_name)
api_instance:set_global();
end
else
- hosts[host].modules[module_name] = pluginenv;
+ modulemap[host][module_name] = pluginenv;
end
end
if not ok then