aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-06-02 19:27:45 +0200
committerKim Alvefur <zash@zash.se>2013-06-02 19:27:45 +0200
commit906209db71d1948bbda63406061e7969ee07d6fc (patch)
tree8682d1e5655d123e3db62a1c4313216d976053bd /plugins
parent8d85647c37f3b1fd49e0d639d5646745672391bd (diff)
parent280227fdb28ce774b5e838f5db18da985710ebd8 (diff)
downloadprosody-906209db71d1948bbda63406061e7969ee07d6fc.tar.gz
prosody-906209db71d1948bbda63406061e7969ee07d6fc.zip
Merge 0.9->trunk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 57abebb2..0a331f27 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -346,7 +346,7 @@ function stream_callbacks.streamopened(context, attr)
local features = st.stanza("stream:features");
hosts[session.host].events.fire_event("stream-features", { origin = session, features = features });
fire_event("stream-features", session, features);
- table.insert(session.send_buffer, tostring(features));
+ session.send(tostring(features));
session.notopen = nil;
end
end