diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-31 22:52:50 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-31 22:52:50 +0100 |
commit | f87fd81a4a3de75958eb489de371fa6830e48fb2 (patch) | |
tree | a45f0d21d509dd749cf5df43156747b0222bda4c | |
parent | ec3a5489a4d1ad18a3e8339fa1a2120e79906f81 (diff) | |
download | prosody-f87fd81a4a3de75958eb489de371fa6830e48fb2.tar.gz prosody-f87fd81a4a3de75958eb489de371fa6830e48fb2.zip |
stanza_router: Don't route before firing events... waqas, is this safe?
-rw-r--r-- | core/stanza_router.lua | 3 |
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 |