From 3f777900d45fba0b2e64791c40421df623d25c5a Mon Sep 17 00:00:00 2001 From: ShadowNinja <shadowninja@minetest.net> Date: Mon, 17 Nov 2014 21:16:59 -0500 Subject: Simplify settings definitions and namespace settings --- chatcommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chatcommands.lua') diff --git a/chatcommands.lua b/chatcommands.lua index d716cb7..2edc38f 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -2,7 +2,7 @@ minetest.register_chatcommand("protect", { params = "<AreaName>", description = "Protect your own area", - privs = {[areas.self_protection_privilege]=true}, + privs = {[areas.config.self_protection_privilege]=true}, func = function(name, param) if param == "" then return false, "Invalid usage, see /help protect." -- cgit v1.2.3