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 | 71519fd5922612696561eda0f9d4c93ff5fb1dc2 (patch) | |
tree | e251f5ca6ac1ec1da63dbe23d4268dcdc8bcac0b | |
parent | ee940bd4e5b8b0f3a3792422d9e93c9dba8b0126 (diff) | |
download | prosody-71519fd5922612696561eda0f9d4c93ff5fb1dc2.tar.gz prosody-71519fd5922612696561eda0f9d4c93ff5fb1dc2.zip |
mod_bosh: Rename event handler argument to event, not request.
-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) |