aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index f19f9df5..f9c2e9fb 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -108,7 +108,10 @@ function stream_callbacks.streamopened(session, attr)
send(features);
else
(session.log or log)("warn", "No stream features to offer");
- session:close{ condition = "undefined-condition", text = "No stream features to proceed with" };
+ session:close({
+ condition = "undefined-condition";
+ text = "No stream features to proceed with on "..(session.secure and "" or "in").."secure stream";
+ });
end
end