aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 9c5e4a4a..b0d54caa 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -119,10 +119,7 @@ local function do_load_module(host, module_name)
end
if not modulemap[host] then
- modulemap[host] = {};
- if host ~= "*" then
- hosts[host].modules = modulemap[host];
- end
+ modulemap[host] = hosts[host].modules;
end
if modulemap[host][module_name] then