aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-23 14:11:10 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-23 14:11:10 +0100
commitc4ff9b7e1086e93be9320dd0cdd8aebf7df2b4ad (patch)
treee24becde46f66180853a281205008595d1edf16f /core
parentf5b07374469842b3b800bf34c4ba4e85dcbc4ad0 (diff)
downloadprosody-c4ff9b7e1086e93be9320dd0cdd8aebf7df2b4ad.tar.gz
prosody-c4ff9b7e1086e93be9320dd0cdd8aebf7df2b4ad.zip
modulemanager: Report errors that happen when loading a shared module onto its original host
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua2
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