core/stanza_router.lua

changeset 2833
a82bd02d5918
parent 1985
9b352c8a32e6
child 2842
298d0ed3f40d
equal deleted inserted replaced
2832:8c754c61c72e 2833:a82bd02d5918
189 elseif origin.type == "component" or origin.type == "local" then 189 elseif origin.type == "component" or origin.type == "local" then
190 -- Route via s2s for components and modules 190 -- Route via s2s for components and modules
191 log("debug", "Routing outgoing stanza for %s to %s", from_host, host); 191 log("debug", "Routing outgoing stanza for %s to %s", from_host, host);
192 send_s2s(from_host, host, stanza); 192 send_s2s(from_host, host, stanza);
193 else 193 else
194 log("warn", "received stanza from unhandled connection type: %s", origin.type); 194 log("warn", "received %s stanza from unhandled connection type: %s", tostring(stanza.name), tostring(origin.type));
195 end 195 end
196 end 196 end

mercurial