diff options
author | Kim Alvefur <zash@zash.se> | 2019-01-18 18:37:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-01-18 18:37:04 +0100 |
commit | 62082d58327d6e17dd7864dcaea75c7cc747fe4b (patch) | |
tree | 6d82610d0afd1b8e6f73ce2a489ca033fc56571b /plugins/mod_websocket.lua | |
parent | 7125a0dd10de331c92c09ea5be8894a6ab79a0e9 (diff) | |
download | prosody-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.lua | 2 |
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 |