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
commit93a297bc8ffd909ff006d664e1e824d8a9307cba (patch)
tree25b2e671f9d80fb19bd32037cf716a9557de7f6c /core/modulemanager.lua
parenta36064641e6e86cbec49d67c615c6ba60cea4f4a (diff)
downloadprosody-93a297bc8ffd909ff006d664e1e824d8a9307cba.tar.gz
prosody-93a297bc8ffd909ff006d664e1e824d8a9307cba.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 = { ["*"] = {} };