--- a/plugins/mod_c2s.lua Tue Jan 24 21:24:03 2017 +0100
+++ b/plugins/mod_c2s.lua Thu Jan 26 19:47:33 2017 +0100
@@ -39,8 +39,6 @@
local runner_callbacks = {};
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;
@@ -96,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