Changeset

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 3427:8ea7d8f90d25
children 3429:1f0c290bd28a
files mod_statistics/prosodytop.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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