core/statsmanager.lua
changeset 10888 6992c4be1a19
parent 10543 25f80afb1631
child 11510 9a3ebdd65f9c
--- a/core/statsmanager.lua	Fri Jan 04 06:56:45 2019 +0100
+++ b/core/statsmanager.lua	Fri Jan 04 07:00:44 2019 +0100
@@ -60,9 +60,9 @@
 local stats_extra = {};
 
 if stats then
-	function measure(type, name)
+	function measure(type, name, conf)
 		local f = assert(stats[type], "unknown stat type: "..type);
-		return f(name);
+		return f(name, conf);
 	end
 
 	if stats_interval then