From f87fd81a4a3de75958eb489de371fa6830e48fb2 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 31 May 2009 22:52:50 +0100 Subject: stanza_router: Don't route before firing events... waqas, is this safe? --- core/stanza_router.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 207302c7..58dd820d 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -165,9 +165,6 @@ function core_post_stanza(origin, stanza) 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 -- cgit v1.2.3