aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-25 11:18:00 +0100
committerKim Alvefur <zash@zash.se>2017-01-25 11:18:00 +0100
commitbefdc64576117b053b635602993b66fde4bfdc0a (patch)
treee4bd8aacca03ab4194a7e84a20574a7479b98a6a
parentac7a1daba87f993330aaccba25bd7745acc8ca54 (diff)
downloadprosody-befdc64576117b053b635602993b66fde4bfdc0a.tar.gz
prosody-befdc64576117b053b635602993b66fde4bfdc0a.zip
mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8
-rw-r--r--plugins/mod_c2s.lua2
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
2 files changed, 0 insertions, 4 deletions
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;
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index f7208ab8..4b3996bb 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -44,8 +44,6 @@ local sessions = module:shared("sessions");
local log = module._log;
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;