Software /
code /
prosody
Changeset
10918:b0038e404e0e
mod_admin_shell: Fix display of units for some statistics
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Jun 2020 00:18:14 +0200 |
parents | 10917:1eb83bc6f706 |
children | 10919:8cde06b38fdb |
files | plugins/mod_admin_shell.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua Sat Jun 06 16:43:28 2020 +0200 +++ b/plugins/mod_admin_shell.lua Sun Jun 07 00:18:14 2020 +0200 @@ -1583,7 +1583,7 @@ 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";