aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 13:58:37 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 13:58:37 +0100
commitca695ad8df44ad83ad2eb9d327cf4552e2780638 (patch)
tree8f04daaa074f2f71b98a9b4c39748d010902bc2a
parentae8d94109d638d4e604cf4a37782aff2e1ea6001 (diff)
downloadprosody-ca695ad8df44ad83ad2eb9d327cf4552e2780638.tar.gz
prosody-ca695ad8df44ad83ad2eb9d327cf4552e2780638.zip
mod_bosh: Fix request/response mixup
-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 3b5e3e1e..5b7a24ab 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -379,7 +379,7 @@ function stream_callbacks.error(context, error)
local response = context.response;
response.headers = default_headers;
response.status_code = 400;
- request:send();
+ response:send();
return;
end