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 | 7af977ccaf776a1e6b04efbf6b6e837c5766e5cf (patch) | |
tree | 06382690b1a8380554565813d684ae86107133ab /plugins/mod_admin_telnet.lua | |
parent | 3da5cd8d2614b0edbe420a398e0aaa71b67208c3 (diff) | |
download | prosody-7af977ccaf776a1e6b04efbf6b6e837c5766e5cf.tar.gz prosody-7af977ccaf776a1e6b04efbf6b6e837c5766e5cf.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, |