Software /
code /
prosody
Diff
core/modulemanager.lua @ 6415:010b141e91ed
core.modulemanager, core.moduleapi: Hack around dependency loop
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 17 Sep 2014 14:48:49 +0200 |
parent | 6367:769a3577dd85 |
child | 6422:6d4d87a89026 |
line wrap: on
line diff
--- a/core/modulemanager.lua Wed Sep 17 14:47:52 2014 +0200 +++ b/core/modulemanager.lua Wed Sep 17 14:48:49 2014 +0200 @@ -37,7 +37,7 @@ module "modulemanager" -local api = _G.require "core.moduleapi"; -- Module API container +local api = _G.require "core.moduleapi"(_M); -- Module API container -- [host] = { [module] = module_env } local modulemap = { ["*"] = {} };