diff options
author | Kim Alvefur <zash@zash.se> | 2017-01-25 11:18:00 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-01-25 11:18:00 +0100 |
commit | 428d7cda1a6bd1c8b0313375d297c6a09880f423 (patch) | |
tree | e4bd8aacca03ab4194a7e84a20574a7479b98a6a | |
parent | 32061a54089b01c19ba21859cfb824886d2a1738 (diff) | |
download | prosody-428d7cda1a6bd1c8b0313375d297c6a09880f423.tar.gz prosody-428d7cda1a6bd1c8b0313375d297c6a09880f423.zip |
mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8
-rw-r--r-- | plugins/mod_c2s.lua | 2 | ||||
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
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; |