Skip to content

Commit

Permalink
Fix incorrect namespace prefix set for stream:error.
Browse files Browse the repository at this point in the history
This was setting xmlns:streams, leaving stream:error with an undefined
namespace prefix.
  • Loading branch information
zewt committed Jun 6, 2011
1 parent 292712e commit 59b0adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mod_bosh.lua
Expand Up @@ -383,7 +383,7 @@ local function bosh_close_stream(session, reason)
(session.log or log)("info", "BOSH client disconnected");

local close_reply = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate",
["xmlns:streams"] = xmlns_streams });
["xmlns:stream"] = xmlns_streams });


if reason then
Expand Down

0 comments on commit 59b0adb

Please sign in to comment.