Diff

core/modulemanager.lua @ 4640:645c93eaf249

modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")
author Matthew Wild <mwild1@gmail.com>
date Sat, 21 Apr 2012 20:02:45 +0100
parent 4639:98a29138dec8
child 4641:2b3ee52fba32
line wrap: on
line diff
--- 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