# HG changeset patch # User Matthew Wild # Date 1335034965 -3600 # Node ID 645c93eaf249ed9d91ae740ef4df55722bc3f79b # Parent 98a29138dec84bedadc0cf52dec35393de170365 modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*") diff -r 98a29138dec8 -r 645c93eaf249 core/modulemanager.lua --- a/core/modulemanager.lua Sat Apr 21 20:01:40 2012 +0100 +++ b/core/modulemanager.lua Sat Apr 21 20:02:45 2012 +0100 @@ -169,7 +169,7 @@ api_instance:set_global(); end else - hosts[host].modules[module_name] = pluginenv; + modulemap[host][module_name] = pluginenv; end end if not ok then