Software /
code /
prosody
Changeset
4454:c73793664bfb
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 13 Dec 2011 13:34:21 +0000 |
parents | 4453:7dc743378e1e |
children | 4455:447234173e9e |
files | core/modulemanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/modulemanager.lua Mon Dec 12 14:53:12 2011 +0500 +++ b/core/modulemanager.lua Tue Dec 13 13:34:21 2011 +0000 @@ -117,7 +117,7 @@ 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;