aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.lua b/gui.lua
index d3306e2..66fc89a 100644
--- a/gui.lua
+++ b/gui.lua
@@ -9,7 +9,7 @@ local ESC = minetest.formspec_escape
local function make_list(filter)
filter = filter or ""
local list, n, dropped = { }, 0, false
- for k in pairs(minetest.auth_table) do
+ for k in minetest.get_auth_handler().iterate() do
if strfind(k, filter, 1, true) then
if n >= MAXLISTSIZE then
dropped = true