diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-08-05 03:08:54 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-08-05 03:08:54 +0100 |
commit | 57ac5607c12c5bfbd83f4f02e5c6ac2c9ad1e86d (patch) | |
tree | 18e6a985b67b211bed7b3f7883a0e8845ef9e6ac /plugins | |
parent | cdd3c546c7ef80cb569aafaaf76cde2d3fd3c1e2 (diff) | |
parent | fef360b4dd88c409b5cacbed161bdd6cfd043396 (diff) | |
download | prosody-57ac5607c12c5bfbd83f4f02e5c6ac2c9ad1e86d.tar.gz prosody-57ac5607c12c5bfbd83f4f02e5c6ac2c9ad1e86d.zip |
Merge with 0.5
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 744893c4..743ebdef 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -136,8 +136,8 @@ function stream_callbacks.streamopened(request, attr) if not hosts[attr.to] then -- Unknown host log("debug", "BOSH client tried to connect to unknown host: %s", tostring(attr.to)); - session_close_reply.attr.condition = "host-unknown"; - request:send{ headers = default_headers, body = tostring(session_close_reply) }; + session_close_reply.body.attr.condition = "host-unknown"; + request:send(session_close_reply); request.notopen = nil return; end |