core/modulemanager.lua
changeset 4662 105423f77d46
parent 4652 9d24bc503621
child 4665 6be91ca54613
--- a/core/modulemanager.lua	Mon Apr 23 14:10:04 2012 +0100
+++ b/core/modulemanager.lua	Mon Apr 23 14:11:10 2012 +0100
@@ -186,7 +186,7 @@
 			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