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
commit469e1f441663d52c15175890ef6be5dc33a979e5 (patch)
tree1c71af33068124a8577f65db6a2f6a66f78b2f3e /core
parent269a562f52e2d404c4d49122436029d07d17711c (diff)
downloadprosody-469e1f441663d52c15175890ef6be5dc33a979e5.tar.gz
prosody-469e1f441663d52c15175890ef6be5dc33a979e5.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