aboutsummaryrefslogtreecommitdiffstats
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
commitb734bd9b82ca97bd196ec583b57eac7201d243d5 (patch)
tree616eb98cef23a733b4e0902662ea27fb433d3863
parentb70b967a61926bccde4c55bf1e05045025bf44b7 (diff)
downloadprosody-b734bd9b82ca97bd196ec583b57eac7201d243d5.tar.gz
prosody-b734bd9b82ca97bd196ec583b57eac7201d243d5.zip
mod_c2s: Clarify that there were no *stream* features to offer
-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