mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Sort clients in minetest.get_server_status
and privs in minetest.privs_to_string
(#15023)
This commit is contained in:
parent
6cc0452503
commit
b2f6a65bc9
3 changed files with 5 additions and 6 deletions
|
@ -702,6 +702,7 @@ function core.privs_to_string(privs, delim)
|
|||
list[#list + 1] = priv
|
||||
end
|
||||
end
|
||||
table.sort(list)
|
||||
return table.concat(list, delim)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue