# HG changeset patch # User Matthew Wild # Date 1323783261 0 # Node ID c73793664bfb22b8ed74cfb03d8b3b1b46b2b6f3 # Parent 7dc743378e1ee9f74054c7af33027441b6f79a77 modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of) diff -r 7dc743378e1e -r c73793664bfb core/modulemanager.lua --- 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;