plugins/mod_s2s/mod_s2s.lua
changeset 7868 a8cc495a65dc
parent 7682 589e27b47d56
child 7869 b6d99132d7dc
--- 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