diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-21 20:02:45 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-21 20:02:45 +0100 |
commit | 4664423a7b50fc7146c7e798af2d31e88ca5093e (patch) | |
tree | 12de7a279920e0edfece0d8bb5e8033e4e3db621 /core | |
parent | 06c05a1916d99acc3fc79f0baa28fc9dd71167d7 (diff) | |
download | prosody-4664423a7b50fc7146c7e798af2d31e88ca5093e.tar.gz prosody-4664423a7b50fc7146c7e798af2d31e88ca5093e.zip |
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")
Diffstat (limited to 'core')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index f5173f00..f7594cd9 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -169,7 +169,7 @@ local function do_load_module(host, module_name) api_instance:set_global(); end else - hosts[host].modules[module_name] = pluginenv; + modulemap[host][module_name] = pluginenv; end end if not ok then |