diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-12-13 13:34:21 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-12-13 13:34:21 +0000 |
commit | 054526af75a0961800094176930c935f325c48e0 (patch) | |
tree | ffce8910a6f4bd2288fc74ce3471c9ab495a5f7a /core | |
parent | 7f9a5266d9eaf0b6d89df77f5b7a096d6ded39bd (diff) | |
download | prosody-054526af75a0961800094176930c935f325c48e0.tar.gz prosody-054526af75a0961800094176930c935f325c48e0.zip |
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of)
Diffstat (limited to 'core')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 2d1eeb77..c4d95695 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -117,7 +117,7 @@ function load(host, module_name, config) end local _log = logger.init(host..":"..module_name); - local api_instance = setmetatable({ name = module_name, host = host, path = err, config = config, _log = _log, log = function (self, ...) return _log(...); end }, { __index = api }); + local api_instance = setmetatable({ name = module_name, host = host, path = err, _log = _log, log = function (self, ...) return _log(...); end }, { __index = api }); local pluginenv = setmetatable({ module = api_instance }, { __index = _G }); api_instance.environment = pluginenv; |