Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 7327:d62f0471470f
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Apr 2016 17:13:12 +0200 |
parent | 7286:30b9433a9f3e |
parent | 7326:d11701e86702 |
child | 7359:a5a080c12c96 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Tue Mar 29 15:38:14 2016 +0200 +++ b/plugins/mod_bosh.lua Sat Apr 02 17:13:12 2016 +0200 @@ -309,6 +309,7 @@ end s = filter("stanzas/out", s); --log("debug", "Sending BOSH data: %s", tostring(s)); + if not s then return true end t_insert(session.send_buffer, tostring(s)); local oldest_request = r[1];