aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-25 11:13:40 +0100
committerKim Alvefur <zash@zash.se>2017-01-25 11:13:40 +0100
commitac7a1daba87f993330aaccba25bd7745acc8ca54 (patch)
tree5e46a9b680385ac32c5dc5589079819293b06df5 /plugins/mod_s2s
parentc7da30f634743e62b07d9be185d6f098f3e38f13 (diff)
downloadprosody-ac7a1daba87f993330aaccba25bd7745acc8ca54.tar.gz
prosody-ac7a1daba87f993330aaccba25bd7745acc8ca54.zip
mod_s2s: Clarify that it is stream features that can't be offered (here too)
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 67af6a14..f7208ab8 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -366,8 +366,8 @@ function stream_callbacks.streamopened(session, attr)
log("debug", "Sending stream features: %s", tostring(features));
session.sends2s(features);
else
- (session.log or log)("warn", "No features to offer, giving up");
- session:close({ condition = "undefined-condition", text = "No features to offer" });
+ (session.log or log)("warn", "No stream features to offer, giving up");
+ session:close({ condition = "undefined-condition", text = "No stream features to offer" });
end
end
elseif session.direction == "outgoing" then