aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
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
commitc40ee817429487a325e871da5ddc3e43eab19bb5 (patch)
treee24becde46f66180853a281205008595d1edf16f /core/modulemanager.lua
parentde1168f2885e614882839f754e039da55fdbe42f (diff)
downloadprosody-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.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