aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorANAND <ClobberXD@gmail.com>2019-12-20 23:45:40 +0530
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-12-20 19:15:40 +0100
commitec3224dce26fac8361f457514d4376d9753ee36b (patch)
treeab6fad71c6ea6f340b2c2196d75d2e0e2f3c7921
parent4b9fabf172dafa325a2adb9754c581a74d0f4e7b (diff)
downloadminetest-ec3224dce26fac8361f457514d4376d9753ee36b.tar.gz
minetest-ec3224dce26fac8361f457514d4376d9753ee36b.tar.bz2
minetest-ec3224dce26fac8361f457514d4376d9753ee36b.zip
/privs: Delimit output list of privs with commas (#9224)
-rw-r--r--builtin/game/chat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua
index 291e72b70..c7162aae1 100644
--- a/builtin/game/chat.lua
+++ b/builtin/game/chat.lua
@@ -141,7 +141,7 @@ core.register_chatcommand("privs", {
end
return true, "Privileges of " .. name .. ": "
.. core.privs_to_string(
- core.get_player_privs(name), ' ')
+ core.get_player_privs(name), ", ")
end,
})