mod_admin_shell: Fix display of units for some statistics

This commit is contained in:
Kim Alvefur 2020-06-07 00:18:14 +02:00
parent 4a0cb5a306
commit ababc84794

View file

@ -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";