--- a/mod_warn_legacy_tls/mod_warn_legacy_tls.lua Sun Nov 03 13:14:43 2019 +0100
+++ b/mod_warn_legacy_tls/mod_warn_legacy_tls.lua Sun Nov 03 13:29:44 2019 +0100
@@ -14,6 +14,7 @@
if not ok then
module:log("debug", "Could not determine TLS version: %s", protocol);
elseif deprecated_protocols:contains(protocol) then
+ session.log("warn", "Uses %s", protocol);
module:add_timer(15, function ()
if session.type == "c2s" and session.resource then
session.send(st.message({ from = host, type = "headline", to = session.full_jid }, warning_message:format(protocol)));