Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 9408:b4a82b726495
mod_admin_telnet: Remove unused variable [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Sep 2018 14:48:44 +0200 |
parent | 9406:7f277975768d |
child | 9409:521df71b2630 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sun Sep 30 14:38:32 2018 +0200 +++ b/plugins/mod_admin_telnet.lua Sun Sep 30 14:48:44 2018 +0200 @@ -1300,7 +1300,7 @@ 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,