Changeset

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
parents 4639:98a29138dec8
children 4641:2b3ee52fba32
files core/modulemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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