Diff

core/modulemanager.lua @ 1904:0aa55a5dafde

modulemanager: Add host.modules to contain a table of modules for a host
author Matthew Wild <mwild1@gmail.com>
date Mon, 05 Oct 2009 10:42:36 +0100
parent 1852:f9b58f37bc14
child 1908:27c1c6e6c583
line wrap: on
line diff
--- a/core/modulemanager.lua	Fri Oct 02 22:37:03 2009 +0100
+++ 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