# HG changeset patch # User Kim Alvefur # Date 1572784225 -3600 # Node ID 406b32b50457860331ed793075e0a513f528ab15 # Parent ec3eb426271e2c0da7847f05f12c9f94c8b3a85b mod_warn_legacy_tls: Log debug message for acceptable TLS versions Easy to miss that the module is working as expected and that you're testing with a non-deprecated TLS version. diff -r ec3eb426271e -r 406b32b50457 mod_warn_legacy_tls/mod_warn_legacy_tls.lua --- a/mod_warn_legacy_tls/mod_warn_legacy_tls.lua Sun Nov 03 13:29:44 2019 +0100 +++ b/mod_warn_legacy_tls/mod_warn_legacy_tls.lua Sun Nov 03 13:30:25 2019 +0100 @@ -20,5 +20,7 @@ session.send(st.message({ from = host, type = "headline", to = session.full_jid }, warning_message:format(protocol))); end end); + else + module:log("debug", "Using acceptable TLS version: %s", protocol); end end);