summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
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