aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit5f2142959cb9fefda450efce5b90bfb184d89fa5 (patch)
tree8f04daaa074f2f71b98a9b4c39748d010902bc2a /plugins
parent1c5625ca7d81c86a218ba3144f0216da516802be (diff)
downloadprosody-5f2142959cb9fefda450efce5b90bfb184d89fa5.tar.gz
prosody-5f2142959cb9fefda450efce5b90bfb184d89fa5.zip
mod_bosh: Fix request/response mixup
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 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