Diff

plugins/mod_s2s/mod_s2s.lua @ 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
parent 7679:589e27b47d56
child 7866:b6d99132d7dc
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