aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-06-07 00:18:14 +0200
committerKim Alvefur <zash@zash.se>2020-06-07 00:18:14 +0200
commit3405f0dfe777ba876d50e75611826eae32f0d315 (patch)
treeee5f073ba6ca5cdde9cacc1e19131c0f31da7c2e /plugins
parentcf640c8ded8615a2721208df1274b1eeee5a2b42 (diff)
downloadprosody-3405f0dfe777ba876d50e75611826eae32f0d315.tar.gz
prosody-3405f0dfe777ba876d50e75611826eae32f0d315.zip
mod_admin_shell: Fix display of units for some statistics
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index f3672496..0154cc65 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -1583,7 +1583,7 @@ local function stats_tostring(stats)
end
print("");
else
- print(("%-50s %s"):format(stat_info[1], format_stat(stat_info[2], (stat_info[4] or {}).unit, stat_info[3])));
+ print(("%-50s %s"):format(stat_info[1], format_stat(stat_info[2], (stat_info[4] or {}).units, stat_info[3])));
end
end
return #stats.." statistics displayed";