aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_bosh.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 095ba4a3..48d16df1 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -100,7 +100,8 @@ local function set_cross_domain_headers(response)
end
function handle_OPTIONS(event)
- return set_cross_domain_headers(event.response);
+ set_cross_domain_headers(event.response);
+ return "";
end
function handle_POST(event)