Changeset

7865:a8cc495a65dc

mod_s2s: Clarify that it is stream features that can't be offered (here too)
author Kim Alvefur <zash@zash.se>
date Wed, 25 Jan 2017 11:13:40 +0100
parents 7864:7ece186a44d3
children 7866:b6d99132d7dc
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Wed Jan 25 11:12:43 2017 +0100
+++ b/plugins/mod_s2s/mod_s2s.lua	Wed Jan 25 11:13:40 2017 +0100
@@ -366,8 +366,8 @@
 				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