# HG changeset patch # User Kim Alvefur # Date 1587294252 -7200 # Node ID fa2a89132dfb03aed8c324f5e08c203a9d759b65 # Parent 5d544b5e7d82e69af02c9b79067e402561e07733 mod_c2s: Swap comments diff -r 5d544b5e7d82 -r fa2a89132dfb plugins/mod_c2s.lua --- a/plugins/mod_c2s.lua Sun Apr 19 01:17:48 2020 +0200 +++ b/plugins/mod_c2s.lua Sun Apr 19 13:04:12 2020 +0200 @@ -111,10 +111,10 @@ send(features); else if session.secure then - -- Normally STARTTLS would be offered + -- Here SASL should be offered (session.log or log)("warn", "No stream features to offer on secure session. Check authentication settings."); else - -- Here SASL should be offered + -- Normally STARTTLS would be offered (session.log or log)("warn", "No stream features to offer on insecure session. Check encryption and security settings."); end session:close{ condition = "undefined-condition", text = "No stream features to proceed with" };