# HG changeset patch # User Matthew Wild # Date 1533672697 -3600 # Node ID 063abaab666f04c77fa3a4ec69599978e4bc1af1 # Parent 5d35e6b409e01f1133fe576b89bec81e0ae95813 mod_statistics: Split module:shared() into multiple calls, multiple params may be deprecated soon diff -r 5d35e6b409e0 -r 063abaab666f mod_statistics/stats.lib.lua --- a/mod_statistics/stats.lib.lua Tue Aug 07 19:12:52 2018 +0100 +++ b/mod_statistics/stats.lib.lua Tue Aug 07 21:11:37 2018 +0100 @@ -29,7 +29,8 @@ local active_sessions, active_jids = {}, {}; local c2s_sessions, s2s_sessions; if prosody and prosody.arg then - c2s_sessions, s2s_sessions = module:shared("/*/c2s/sessions", "/*/s2s/sessions"); + c2s_sessions = module:shared("/*/c2s/sessions"); + s2s_sessions = module:shared("/*/s2s/sessions"); end local stats = {