mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_admin_shell: Fix display of units for some statistics
This commit is contained in:
parent
4a0cb5a306
commit
ababc84794
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue