mod_s2s: Clarify that it is stream features that can't be offered (here too)
authorKim Alvefur <zash@zash.se>
Wed, 25 Jan 2017 11:13:40 +0100
changeset 7868 a8cc495a65dc
parent 7867 7ece186a44d3
child 7869 b6d99132d7dc
mod_s2s: Clarify that it is stream features that can't be offered (here too)
plugins/mod_s2s/mod_s2s.lua
--- 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