diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-23 14:11:10 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-23 14:11:10 +0100 |
commit | c4ff9b7e1086e93be9320dd0cdd8aebf7df2b4ad (patch) | |
tree | e24becde46f66180853a281205008595d1edf16f | |
parent | f5b07374469842b3b800bf34c4ba4e85dcbc4ad0 (diff) | |
download | prosody-c4ff9b7e1086e93be9320dd0cdd8aebf7df2b4ad.tar.gz prosody-c4ff9b7e1086e93be9320dd0cdd8aebf7df2b4ad.zip |
modulemanager: Report errors that happen when loading a shared module onto its original host
-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 aca314c0..f0648667 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -186,7 +186,7 @@ local function do_load_module(host, module_name) end if host ~= api_instance.host and module_has_method(pluginenv, "add_host") then -- Now load the module again onto the host it was originally being loaded on - do_load_module(host, module_name); + ok, err = do_load_module(host, module_name); end end end |