diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 10:42:36 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 10:42:36 +0100 |
commit | c3ffb26132a29a040a7ee75c46f68ea46ad9c79e (patch) | |
tree | 3bf6bcf474a8614041ddcd19d08fef786d9f243e /core | |
parent | fbfa652fba6fe4ccf3d019e57bd8f916454f5fa8 (diff) | |
download | prosody-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.lua | 1 |
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 |