Software /
code /
prosody
Diff
plugins/mod_c2s.lua @ 5748:cef2a1122b43
mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 15 Jul 2013 11:44:49 +0100 |
parent | 5669:9345c161481f |
child | 5759:767e29b2cd3a |
line wrap: on
line diff
--- a/plugins/mod_c2s.lua Mon Jul 15 11:43:23 2013 +0100 +++ b/plugins/mod_c2s.lua Mon Jul 15 11:44:49 2013 +0100 @@ -79,8 +79,6 @@ local features = st.stanza("stream:features"); hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); - module:fire_event("stream-features", session, features); - send(features); end