aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-07-15 11:44:49 +0100
committerMatthew Wild <mwild1@gmail.com>2013-07-15 11:44:49 +0100
commitcab180216b49e1c6f1f0e847357df58436551643 (patch)
treee26f94300610cdd9fb171246b1ab20213209218e /plugins/mod_c2s.lua
parent71ab938d534d425b388ab0d76204b3a232bcadce (diff)
downloadprosody-cab180216b49e1c6f1f0e847357df58436551643.tar.gz
prosody-cab180216b49e1c6f1f0e847357df58436551643.zip
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)
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index 91bde574..d667e781 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -79,8 +79,6 @@ function stream_callbacks.streamopened(session, attr)
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