# HG changeset patch # User Kim Alvefur # Date 1591481894 -7200 # Node ID b0038e404e0e51d81272628036b16d9e9878f691 # Parent 1eb83bc6f706b6d6edbb09f58803eb62d40152a4 mod_admin_shell: Fix display of units for some statistics diff -r 1eb83bc6f706 -r b0038e404e0e plugins/mod_admin_shell.lua --- 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";