# HG changeset patch # User Matthew Wild # Date 1254735756 -3600 # Node ID ac5fca9ef6fe0a91e6050d285aefcaf8462b3b5c # Parent ccb7d9ccbf246e4959807e97458289fb3b89f33e modulemanager: Add host.modules to contain a table of modules for a host diff -r ccb7d9ccbf24 -r ac5fca9ef6fe core/modulemanager.lua --- a/core/modulemanager.lua Sun Oct 04 21:46:35 2009 +0500 +++ b/core/modulemanager.lua Mon Oct 05 10:42:36 2009 +0100 @@ -106,6 +106,7 @@ if not modulemap[host] then modulemap[host] = {}; + hosts[host].modules = modulemap[host]; end if modulemap[host][module_name] then