summaryrefslogtreecommitdiff
path: root/init.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 /init.lua
parente4aef02cb90b6c7348808869224f162f23375873 (diff)
Simplify settings definitions and namespace settings
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 37cf58d..2c10cdd 100644
--- a/init.lua
+++ b/init.lua
@@ -26,8 +26,8 @@ minetest.register_privilege("areas_high_limit", {
description = "Can can more, bigger areas."
})
-if not minetest.registered_privileges[areas.self_protection_privilege] then
- minetest.register_privilege(areas.self_protection_privilege, {
+if not minetest.registered_privileges[areas.config.self_protection_privilege] then
+ minetest.register_privilege(areas.config.self_protection_privilege, {
description = "Can protect areas.",
})
end