From bdeb5cc9c575d5f5ba62e33e9c032da47e1dcd00 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 25 Jan 2017 10:47:31 +0100 Subject: mod_c2s: Clarify that there were no *stream* features to offer --- plugins/mod_c2s.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mod_c2s.lua') diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index 041eb1f2..ce2e9a88 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -94,8 +94,8 @@ function stream_callbacks.streamopened(session, attr) 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 -- cgit v1.2.3 From befdc64576117b053b635602993b66fde4bfdc0a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 25 Jan 2017 11:18:00 +0100 Subject: mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8 --- plugins/mod_c2s.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/mod_c2s.lua') diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index ce2e9a88..1374c108 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -37,8 +37,6 @@ local stream_callbacks = { default_ns = "jabber:client" }; local listener = {}; module:hook("stats-update", function () - -- Connection counter resets to 0 on load and reload - -- Bump it up to current value local count = 0; for _ in pairs(sessions) do count = count + 1; -- cgit v1.2.3