diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-11-13 04:12:40 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-11-13 04:12:40 +0000 |
commit | a3aa9ad46c87d13909283827d07786b5b14c84c1 (patch) | |
tree | df837015096d434697bb1f97e54f3bc20b10c921 | |
parent | 449a83920586649fa2d5d97fbf0989ef546fd133 (diff) | |
download | prosody-a3aa9ad46c87d13909283827d07786b5b14c84c1.tar.gz prosody-a3aa9ad46c87d13909283827d07786b5b14c84c1.zip |
Backed out changeset bfc47564aaef (No need for _M with module.environment)
-rw-r--r-- | core/modulemanager.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index c78c315b..49ad12ac 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -117,7 +117,6 @@ function load(host, module_name, config) local pluginenv = setmetatable({ module = api_instance }, { __index = _G }); api_instance.environment = pluginenv; - pluginenv._M = pluginenv; setfenv(mod, pluginenv); hosts[host].modules = modulemap[host]; |