plugins/mod_component.lua
changeset 10720 29575fe64860
parent 10115 0f335815244f
child 11038 233196135048
--- a/plugins/mod_component.lua	Sat Apr 11 17:59:39 2020 +0200
+++ b/plugins/mod_component.lua	Sat Apr 11 19:31:15 2020 +0200
@@ -132,7 +132,7 @@
 			end
 			module:log("warn", "Component not connected, bouncing error for: %s", stanza:top_tag());
 			if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then
-				event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable"));
+				event.origin.send(st.error_reply(stanza, "wait", "service-unavailable", "Component unavailable", module.host));
 			end
 		end
 		return true;