aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-19 13:04:12 +0200
committerKim Alvefur <zash@zash.se>2020-04-19 13:04:12 +0200
commitee80be9fa402a8c8656a56a2028101890c97a1d2 (patch)
tree03ee865487f8c8a6b578122908eb2071140ea416
parent2b1538e30e869b3624139427a895317c6fea995c (diff)
downloadprosody-ee80be9fa402a8c8656a56a2028101890c97a1d2.tar.gz
prosody-ee80be9fa402a8c8656a56a2028101890c97a1d2.zip
mod_c2s: Swap comments
-rw-r--r--plugins/mod_c2s.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index aecf2210..536b945e 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -111,10 +111,10 @@ function stream_callbacks.streamopened(session, attr)
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" };