aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-17 14:48:49 +0200
committerKim Alvefur <zash@zash.se>2014-09-17 14:48:49 +0200
commit3d4d1527111f5774ba1314e34daa986e49807a39 (patch)
tree25b2e671f9d80fb19bd32037cf716a9557de7f6c /core/modulemanager.lua
parent1b3c4c26a18ee8b0ecb2097ac480040e51a27b05 (diff)
downloadprosody-3d4d1527111f5774ba1314e34daa986e49807a39.tar.gz
prosody-3d4d1527111f5774ba1314e34daa986e49807a39.zip
core.modulemanager, core.moduleapi: Hack around dependency loop
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index db4c6bd0..198e208a 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -37,7 +37,7 @@ local _G = _G;
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 = { ["*"] = {} };