mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
core.statsmanager: Use correct variable for config validation [luacheck]
This commit is contained in:
parent
b421c1992e
commit
503a9c65cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue