From 235ac5dae5e3a86d56ed413c11fe75c4477af843 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 19 May 2012 12:42:33 +0300 Subject: [PATCH] Take out the "Privileges of foo are hidden from you." response of /privs --- builtin/chatcommands.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builtin/chatcommands.lua b/builtin/chatcommands.lua index 7845c70..eaafe9e 100644 --- a/builtin/chatcommands.lua +++ b/builtin/chatcommands.lua @@ -101,9 +101,10 @@ minetest.register_chatcommand("privs", { if param == "" then param = name else - if not minetest.check_player_privs(name, {privs=true}) then + --[[if not minetest.check_player_privs(name, {privs=true}) then minetest.chat_send_player(name, "Privileges of "..param.." are hidden from you.") - end + return + end]] end minetest.chat_send_player(name, "Privileges of "..param..": "..minetest.privs_to_string(minetest.get_player_privs(param), ' ')) end,