summaryrefslogtreecommitdiff
path: root/internal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'internal.lua')
-rw-r--r--internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.lua b/internal.lua
index 142e610..80187dc 100644
--- a/internal.lua
+++ b/internal.lua
@@ -186,7 +186,7 @@ end
-- Checks if a player owns an area or a parent of it
function areas:isAreaOwner(id, name)
- cur = self:getAreaById(id)
+ local cur = self:getAreaById(id)
if cur and minetest.check_player_privs(name, {areas=true}) then
return true
end