Changeset

1258:01b69efffb1c

stanza_router: Don't route before firing events... waqas, is this safe?
author Matthew Wild <mwild1@gmail.com>
date Sun, 31 May 2009 22:52:50 +0100
parents 1257:8c9f20d3a17f
children 1261:497178e0ddbe
files core/stanza_router.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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