aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-05-16 17:52:29 +0200
committerKim Alvefur <zash@zash.se>2017-05-16 17:52:29 +0200
commit8c3f6bd236ef6addc1dda80d42d6fd73acc4e1f5 (patch)
tree2c7c4043c0abf9a7aaf87aa3593405da8db3f760 /plugins/mod_websocket.lua
parent769dbb1e2f04b3597db97bf19630604a9319b7fe (diff)
downloadprosody-8c3f6bd236ef6addc1dda80d42d6fd73acc4e1f5.tar.gz
prosody-8c3f6bd236ef6addc1dda80d42d6fd73acc4e1f5.zip
mod_websocket: Convert set to string (syslog sink needs a better fix)
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 d545e708..ed73962d 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -334,7 +334,7 @@ function module.add_host(module)
-- This might be weird with random load order
local_cross_domain:exclude(cross_domain);
cross_domain:include(local_cross_domain);
- module:log("debug", "cross_domain = %s", cross_domain);
+ module:log("debug", "cross_domain = %s", tostring(cross_domain));
function module.unload()
cross_domain:exclude(local_cross_domain);
end