Changeset

7862:f5cbbf69cac8

mod_c2s: Clarify that there were no *stream* features to offer
author Kim Alvefur <zash@zash.se>
date Wed, 25 Jan 2017 10:47:31 +0100
parents 7860:49ff363f3a3d
children 7863:a634fe3c21f2
files plugins/mod_c2s.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Tue Jan 24 21:13:23 2017 +0100
+++ b/plugins/mod_c2s.lua	Wed Jan 25 10:47:31 2017 +0100
@@ -94,8 +94,8 @@
 	if features.tags[1] or session.full_jid then
 		send(features);
 	else
-		(session.log or log)("warn", "No features to offer");
-		session:close{ condition = "undefined-condition", text = "No features to proceed with" };
+		(session.log or log)("warn", "No stream features to offer");
+		session:close{ condition = "undefined-condition", text = "No stream features to proceed with" };
 	end
 end