aboutsummaryrefslogtreecommitdiffstats
path: root/core/statsmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-09-12 22:31:25 +0100
committerMatthew Wild <mwild1@gmail.com>2016-09-12 22:31:25 +0100
commitfa1559e19cb42b43dac7b27213639071cd257462 (patch)
tree1b740492720e5c386b928514e711e90e705f5693 /core/statsmanager.lua
parent804406e5f8ae306cbb5770c38720c09cbb6c43c1 (diff)
parentf04d5613829f64ceed87e0652fcbcd6f602833d3 (diff)
downloadprosody-fa1559e19cb42b43dac7b27213639071cd257462.tar.gz
prosody-fa1559e19cb42b43dac7b27213639071cd257462.zip
Merge 0.10->trunk
Diffstat (limited to 'core/statsmanager.lua')
-rw-r--r--core/statsmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/statsmanager.lua b/core/statsmanager.lua
index 67702dd9..237b1dd5 100644
--- a/core/statsmanager.lua
+++ b/core/statsmanager.lua
@@ -6,7 +6,7 @@ local fire_event = prosody.events.fire_event;
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