Software /
code /
prosody
Changeset
5652:bfb290c8cd73
mod_bosh: Rename event handler argument to event, not request.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 07 Jun 2013 13:21:38 -0400 |
parents | 5651:c968c8e3596d |
children | 5653:c7d10b1a64b1 |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Fri Jun 07 13:23:04 2013 +0100 +++ b/plugins/mod_bosh.lua Fri Jun 07 13:21:38 2013 -0400 @@ -99,8 +99,8 @@ 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)