aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-25 10:47:31 +0100
committerKim Alvefur <zash@zash.se>2017-01-25 10:47:31 +0100
commitbdeb5cc9c575d5f5ba62e33e9c032da47e1dcd00 (patch)
tree616eb98cef23a733b4e0902662ea27fb433d3863 /plugins
parent2c33b9b47d9f85a81b25cfc5ebebdc1fb5aa6864 (diff)
downloadprosody-bdeb5cc9c575d5f5ba62e33e9c032da47e1dcd00.tar.gz
prosody-bdeb5cc9c575d5f5ba62e33e9c032da47e1dcd00.zip
mod_c2s: Clarify that there were no *stream* features to offer
Diffstat (limited to 'plugins')
-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 041eb1f2..ce2e9a88 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -94,8 +94,8 @@ function stream_callbacks.streamopened(session, attr)
if features.tags[1] or session.full_jid then
send(features);
else
- (session.log or log)("warn", "No features to offer");
- session:close{ condition = "undefined-condition", text = "No features to proceed with" };
+ (session.log or log)("warn", "No stream features to offer");
+ session:close{ condition = "undefined-condition", text = "No stream features to proceed with" };
end
end