1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Sort clients in minetest.get_server_status and privs in minetest.privs_to_string (#15023)

This commit is contained in:
Zemtzov7 2024-08-21 23:25:41 +05:00 committed by GitHub
parent 6cc0452503
commit b2f6a65bc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 6 deletions

View file

@ -221,6 +221,7 @@ core.register_chatcommand("haspriv", {
return true, S("No online player has the \"@1\" privilege.",
param)
else
table.sort(players_with_priv)
return true, S("Players online with the \"@1\" privilege: @2",
param,
table.concat(players_with_priv, ", "))