summaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-11-17 21:16:59 -0500
committerShadowNinja <shadowninja@minetest.net>2014-11-17 21:16:59 -0500
commit3f777900d45fba0b2e64791c40421df623d25c5a (patch)
tree90f62a5a6ee589a13d7a633e59772115f1f5aa8e /chatcommands.lua
parente4aef02cb90b6c7348808869224f162f23375873 (diff)
Simplify settings definitions and namespace settings
Diffstat (limited to 'chatcommands.lua')
-rw-r--r--chatcommands.lua2
1 files changed, 1 insertions, 1 deletions
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."