summaryrefslogtreecommitdiff
path: root/areas
diff options
context:
space:
mode:
Diffstat (limited to 'areas')
-rw-r--r--areas/internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/areas/internal.lua b/areas/internal.lua
index 05a31cd..bf7e92c 100644
--- a/areas/internal.lua
+++ b/areas/internal.lua
@@ -1,6 +1,6 @@
function areas:player_exists(name)
- return minetest.auth_table[name] ~= nil
+ return minetest.get_auth_handler().get_auth(name) ~= nil
end
-- Save the areas table to a file