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 | bf4925029fade8287314c858029413aacc5a9a48 (patch) | |
tree | 12de7a279920e0edfece0d8bb5e8033e4e3db621 /core/modulemanager.lua | |
parent | e0805574e18fddde821ba9ec6ade8f234f368f1b (diff) | |
download | prosody-bf4925029fade8287314c858029413aacc5a9a48.tar.gz prosody-bf4925029fade8287314c858029413aacc5a9a48.zip |
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")
Diffstat (limited to 'core/modulemanager.lua')
-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 |