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 | c40ee817429487a325e871da5ddc3e43eab19bb5 (patch) | |
tree | e24becde46f66180853a281205008595d1edf16f /core/modulemanager.lua | |
parent | de1168f2885e614882839f754e039da55fdbe42f (diff) | |
download | prosody-c40ee817429487a325e871da5ddc3e43eab19bb5.tar.gz prosody-c40ee817429487a325e871da5ddc3e43eab19bb5.zip |
modulemanager: Report errors that happen when loading a shared module onto its original 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 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 |