diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-30 14:48:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-30 14:48:44 +0200 |
commit | 86b9efb4baacbb227f9c6b9ea9246bd17d8ee5ae (patch) | |
tree | 06382690b1a8380554565813d684ae86107133ab /plugins/mod_admin_telnet.lua | |
parent | ca83f517b7dce8547d9bdaf1ad7151e384be18c9 (diff) | |
download | prosody-86b9efb4baacbb227f9c6b9ea9246bd17d8ee5ae.tar.gz prosody-86b9efb4baacbb227f9c6b9ea9246bd17d8ee5ae.zip |
mod_admin_telnet: Remove unused variable [luacheck]
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r-- | plugins/mod_admin_telnet.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 942f3203..430fc2f3 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -1300,7 +1300,7 @@ end function stats_methods:summary() local statistics = require "util.statistics"; for _, stat_info in ipairs(self) do - local name, type, value, data = stat_info[1], stat_info[2], stat_info[3], stat_info[4]; + local type, value, data = stat_info[2], stat_info[3], stat_info[4]; if data and data.samples then table.insert(stat_info.output, string.format("Count: %d (%d captured)", data.count, |