aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
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
commit62082d58327d6e17dd7864dcaea75c7cc747fe4b (patch)
tree6d82610d0afd1b8e6f73ce2a489ca033fc56571b /plugins/mod_websocket.lua
parent7125a0dd10de331c92c09ea5be8894a6ab79a0e9 (diff)
downloadprosody-62082d58327d6e17dd7864dcaea75c7cc747fe4b.tar.gz
prosody-62082d58327d6e17dd7864dcaea75c7cc747fe4b.zip
mod_websocket: Include the value of cross_domain_websocket in debug message
Diffstat (limited to 'plugins/mod_websocket.lua')
-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