# HG changeset patch # User Kim Alvefur # Date 1473689314 -7200 # Node ID 4f145a9f14770ee7c31ae2c7c4c51951fb240f18 # Parent 54424e9817967700476e5b7e1ed12642fe62f54f core.statsmanager: Use correct variable for config validation [luacheck] diff -r 54424e981796 -r 4f145a9f1477 core/statsmanager.lua --- a/core/statsmanager.lua Mon Sep 12 15:49:24 2016 +0200 +++ b/core/statsmanager.lua Mon Sep 12 16:08:34 2016 +0200 @@ -6,7 +6,7 @@ local stats_interval_config = config.get("*", "statistics_interval"); local stats_interval = tonumber(stats_interval_config); -if stats_config and not stats_interval then +if stats_interval_config and not stats_interval then log("error", "Invalid 'statistics_interval' setting, statistics will be disabled"); end