# HG changeset patch # User Matthew Wild # Date 1243806770 -3600 # Node ID 01b69efffb1c2090d4e9ef979432c6b5f33369e0 # Parent 8c9f20d3a17f3c88750efea27b9ecde81808ce7a stanza_router: Don't route before firing events... waqas, is this safe? diff -r 8c9f20d3a17f -r 01b69efffb1c core/stanza_router.lua --- a/core/stanza_router.lua Sun May 31 21:36:12 2009 +0100 +++ b/core/stanza_router.lua Sun May 31 22:52:50 2009 +0100 @@ -165,9 +165,6 @@ else if (h.events or prosody.events).fire_event(stanza.name..to_type, event_data) then return; end -- do processing end - else -- non-local recipient - core_route_stanza(origin, stanza); - return; end if host and fire_event(host.."/"..stanza.name, event_data) then