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

---
 init.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'init.lua')

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
-- 
cgit v1.2.3