# HG changeset patch # User Matthew Wild # Date 1373885089 -3600 # Node ID cef2a1122b431c64bc3f41ff8261b0c50cb3e373 # Parent 23076ee191d3fafedd357a13ffe0fcf2aea3a669 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) diff -r 23076ee191d3 -r cef2a1122b43 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Mon Jul 15 11:43:23 2013 +0100 +++ b/plugins/mod_bosh.lua Mon Jul 15 11:44:49 2013 +0100 @@ -349,7 +349,6 @@ if session.notopen then local features = st.stanza("stream:features"); hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); - fire_event("stream-features", session, features); session.send(features); session.notopen = nil; end diff -r 23076ee191d3 -r cef2a1122b43 plugins/mod_c2s.lua --- 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