diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-28 13:58:37 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-28 13:58:37 +0100 |
commit | ca695ad8df44ad83ad2eb9d327cf4552e2780638 (patch) | |
tree | 8f04daaa074f2f71b98a9b4c39748d010902bc2a /plugins/mod_bosh.lua | |
parent | ae8d94109d638d4e604cf4a37782aff2e1ea6001 (diff) | |
download | prosody-ca695ad8df44ad83ad2eb9d327cf4552e2780638.tar.gz prosody-ca695ad8df44ad83ad2eb9d327cf4552e2780638.zip |
mod_bosh: Fix request/response mixup
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
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 |