diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-06-07 13:21:38 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-06-07 13:21:38 -0400 |
commit | e3784f09b95ea6afff43005cce671d4092589442 (patch) | |
tree | e251f5ca6ac1ec1da63dbe23d4268dcdc8bcac0b /plugins/mod_bosh.lua | |
parent | 19c28421efbb27a7922ed98cd0be262112302d1c (diff) | |
download | prosody-e3784f09b95ea6afff43005cce671d4092589442.tar.gz prosody-e3784f09b95ea6afff43005cce671d4092589442.zip |
mod_bosh: Rename event handler argument to event, not request.
Diffstat (limited to 'plugins/mod_bosh.lua')
-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 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) |