# HG changeset patch # User Matthew Wild # Date 1546524118 0 # Node ID 1962c94e2203ad74f06752286f67993446f265ec # Parent 8ea7d8f90d254e53ca2fde4c9a5108274eadafaf mod_statistics: Fix incorrect parameters to envload (thanks Dan) diff -r 8ea7d8f90d25 -r 1962c94e2203 mod_statistics/prosodytop.lib.lua --- a/mod_statistics/prosodytop.lib.lua Thu Jan 03 11:57:55 2019 +0000 +++ b/mod_statistics/prosodytop.lib.lua Thu Jan 03 14:01:58 2019 +0000 @@ -76,7 +76,7 @@ view:update_session(id, jid, stats); end end end; }; - local chunk = assert(envload(line, e)); + local chunk = assert(envload(line, "=prosodytop", e)); chunk(); end