aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-18 18:37:04 +0100
committerKim Alvefur <zash@zash.se>2019-01-18 18:37:04 +0100
commit9cb4461ab7cec2bb16bd4b32f1dbf908253e482b (patch)
tree6d82610d0afd1b8e6f73ce2a489ca033fc56571b /plugins
parentfc632a3a78bdc638b421f86369f5e38f6e8a82ed (diff)
downloadprosody-9cb4461ab7cec2bb16bd4b32f1dbf908253e482b.tar.gz
prosody-9cb4461ab7cec2bb16bd4b32f1dbf908253e482b.zip
mod_websocket: Include the value of cross_domain_websocket in debug message
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_websocket.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index a668b4fa..475cabfe 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -159,7 +159,7 @@ function handle_request(event)
end
if not check_origin(request.headers.origin or "") then
- module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket'", request.headers.origin or "(missing header)");
+ module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket' [ %s ]", request.headers.origin or "(missing header)", cross_domain);
return 403;
end