comparison mod_statistics/prosodytop.lib.lua @ 3428:1962c94e2203

mod_statistics: Fix incorrect parameters to envload (thanks Dan)
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Jan 2019 14:01:58 +0000
parents 8ea7d8f90d25
children
comparison
equal deleted inserted replaced
3427:8ea7d8f90d25 3428:1962c94e2203
74 end end; 74 end end;
75 SESS = function (id) return function (jid) return function (stats) 75 SESS = function (id) return function (jid) return function (stats)
76 view:update_session(id, jid, stats); 76 view:update_session(id, jid, stats);
77 end end end; 77 end end end;
78 }; 78 };
79 local chunk = assert(envload(line, e)); 79 local chunk = assert(envload(line, "=prosodytop", e));
80 chunk(); 80 chunk();
81 end 81 end
82 82
83 local stats_listener = {}; 83 local stats_listener = {};
84 84