Software /
code /
prosody
Changeset
10727:fa2a89132dfb
mod_c2s: Swap comments
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 19 Apr 2020 13:04:12 +0200 |
parents | 10726:5d544b5e7d82 |
children | 10728:2764beb552cd |
files | plugins/mod_c2s.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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" };