From 469e1f441663d52c15175890ef6be5dc33a979e5 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 5 Oct 2009 10:42:36 +0100 Subject: modulemanager: Add host.modules to contain a table of modules for a host --- core/modulemanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index a1ed8981..7ca12dda 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -106,6 +106,7 @@ function load(host, module_name, config) if not modulemap[host] then modulemap[host] = {}; + hosts[host].modules = modulemap[host]; end if modulemap[host][module_name] then -- cgit v1.2.3