aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-23 01:48:01 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-23 01:48:01 +0100
commita977acec89c829b23d790a02c0abf9bb5dfd5a54 (patch)
treef4a0f66456673aaded12f7e595724b56fc26dcb3 /core
parent78e3f4adf5e346076de8e1c0031509346c1490c8 (diff)
downloadprosody-a977acec89c829b23d790a02c0abf9bb5dfd5a54.tar.gz
prosody-a977acec89c829b23d790a02c0abf9bb5dfd5a54.zip
modulemanager: Expose api table to allow others to extend the module API
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 24a0da6c..19e0a982 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -38,7 +38,8 @@ local _G = _G;
module "modulemanager"
-local api = {}; -- Module API container
+api = {};
+local api = api; -- Module API container
local modulemap = { ["*"] = {} };