# HG changeset patch # User Matthew Wild # Date 1227146726 0 # Node ID ffb1a720f5ae5d3f25655d6e7ac345695beada2d # Parent 17bcecb0642095713cb2fd0675a0ac15def43fb4 Don't error reply to stanzas direct over the s2s stream they came from diff -r 17bcecb06420 -r ffb1a720f5ae core/stanza_router.lua --- a/core/stanza_router.lua Thu Nov 20 01:33:25 2008 +0000 +++ b/core/stanza_router.lua Thu Nov 20 02:05:26 2008 +0000 @@ -191,7 +191,7 @@ log("warn", "Unhandled origin: %s", origin.type); if (stanza.attr.xmlns == "jabber:client" or stanza.attr.xmlns == "jabber:server") and stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then -- s2s stanzas can get here - (origin.sends2s or origin.send)(st.error_reply(stanza, "cancel", "service-unavailable")); -- FIXME correct error? + origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); -- FIXME correct error? end end end