Backed out changeset bfc47564aaef (No need for _M with module.environment)

Sat, 13 Nov 2010 04:12:40 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 13 Nov 2010 04:12:40 +0000
changeset 3623
6f4db418a9cc
parent 3620
bfc47564aaef
child 3624
e2cfc6b8fe5d

Backed out changeset bfc47564aaef (No need for _M with module.environment)

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Sat Nov 13 04:09:14 2010 +0000
+++ b/core/modulemanager.lua	Sat Nov 13 04:12:40 2010 +0000
@@ -117,7 +117,6 @@
 
 	local pluginenv = setmetatable({ module = api_instance }, { __index = _G });
 	api_instance.environment = pluginenv;
-	pluginenv._M = pluginenv;
 	
 	setfenv(mod, pluginenv);
 	hosts[host].modules = modulemap[host];

mercurial