aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-23 00:23:33 +0200
committerKim Alvefur <zash@zash.se>2014-09-23 00:23:33 +0200
commitb58d3248b78bce1bc07575ab1ff2a6f30324fc28 (patch)
treed2e98f022591e298964769aeed1c80a086297c8f /core/modulemanager.lua
parentea8046b81b086c914d70faea3f2d208e6030fe37 (diff)
downloadprosody-b58d3248b78bce1bc07575ab1ff2a6f30324fc28.tar.gz
prosody-b58d3248b78bce1bc07575ab1ff2a6f30324fc28.zip
core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)
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 198e208a..92372ac3 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -37,7 +37,7 @@ local _G = _G;
module "modulemanager"
-local api = _G.require "core.moduleapi"(_M); -- Module API container
+local api = _G.require "core.moduleapi".init(_M); -- Module API container
-- [host] = { [module] = module_env }
local modulemap = { ["*"] = {} };