/privs: Delimit output list of privs with commas (#9224)
authorANAND <ClobberXD@gmail.com>
Fri, 20 Dec 2019 18:15:40 +0000 (23:45 +0530)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Fri, 20 Dec 2019 18:15:40 +0000 (19:15 +0100)
builtin/game/chat.lua

index 291e72b7033726d10ff3beb05f2e4cb4fedd3c21..c7162aae1955f7370be40f87eb1c1e92f660632d 100644 (file)
@@ -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,
 })