aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-05 10:42:36 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-05 10:42:36 +0100
commitc3ffb26132a29a040a7ee75c46f68ea46ad9c79e (patch)
tree3bf6bcf474a8614041ddcd19d08fef786d9f243e /core
parentfbfa652fba6fe4ccf3d019e57bd8f916454f5fa8 (diff)
downloadprosody-c3ffb26132a29a040a7ee75c46f68ea46ad9c79e.tar.gz
prosody-c3ffb26132a29a040a7ee75c46f68ea46ad9c79e.zip
modulemanager: Add host.modules to contain a table of modules for a host
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index a1ed8981..7ca12dda 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -106,6 +106,7 @@ function load(host, module_name, config)
if not modulemap[host] then
modulemap[host] = {};
+ hosts[host].modules = modulemap[host];
end
if modulemap[host][module_name] then