diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-23 21:27:34 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-23 21:27:34 +0100 |
commit | 83c028be30d1467f255756c081c1261ff294a522 (patch) | |
tree | 46257a88fbbdc4bcbb4245ead9121e2fef406414 | |
parent | c4c6a44c3089cafa59bdea640e0a2e90951a9058 (diff) | |
download | prosody-83c028be30d1467f255756c081c1261ff294a522.tar.gz prosody-83c028be30d1467f255756c081c1261ff294a522.zip |
core.statsmanager: Ignore unused variable [luacheck]
-rw-r--r-- | core/statsmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/statsmanager.lua b/core/statsmanager.lua index 50798ad0..d3f1d4f5 100644 --- a/core/statsmanager.lua +++ b/core/statsmanager.lua @@ -79,6 +79,7 @@ if stats then if stats.get_stats then changed_stats, stats_extra = {}, {}; for stat_name, getter in pairs(stats.get_stats()) do + -- luacheck: ignore 211/type local type, value, extra = getter(); local old_value = latest_stats[stat_name]; latest_stats[stat_name] = value; |