Software /
code /
prosody
Diff
plugins/mod_c2s.lua @ 10727:fa2a89132dfb
mod_c2s: Swap comments
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 19 Apr 2020 13:04:12 +0200 |
parent | 10465:09697a673015 |
child | 10811:16bcbd574801 |
line wrap: on
line diff
--- 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" };