aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-06-07 13:21:38 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-06-07 13:21:38 -0400
commite3784f09b95ea6afff43005cce671d4092589442 (patch)
treee251f5ca6ac1ec1da63dbe23d4268dcdc8bcac0b /plugins
parent19c28421efbb27a7922ed98cd0be262112302d1c (diff)
downloadprosody-e3784f09b95ea6afff43005cce671d4092589442.tar.gz
prosody-e3784f09b95ea6afff43005cce671d4092589442.zip
mod_bosh: Rename event handler argument to event, not request.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bosh.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 00da914c..095ba4a3 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -99,8 +99,8 @@ local function set_cross_domain_headers(response)
return response;
end
-function handle_OPTIONS(request)
- return set_cross_domain_headers(request.response);
+function handle_OPTIONS(event)
+ return set_cross_domain_headers(event.response);
end
function handle_POST(event)