aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-31 22:52:50 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-31 22:52:50 +0100
commitf87fd81a4a3de75958eb489de371fa6830e48fb2 (patch)
treea45f0d21d509dd749cf5df43156747b0222bda4c /core/stanza_router.lua
parentec3a5489a4d1ad18a3e8339fa1a2120e79906f81 (diff)
downloadprosody-f87fd81a4a3de75958eb489de371fa6830e48fb2.tar.gz
prosody-f87fd81a4a3de75958eb489de371fa6830e48fb2.zip
stanza_router: Don't route before firing events... waqas, is this safe?
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua3
1 files changed, 0 insertions, 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