Update to 5.0 auth.

This commit is contained in:
Diego Martínez 2019-02-12 16:36:06 -03:00
parent 3270942a0f
commit 3b70045365
1 changed files with 1 additions and 1 deletions

View File

@ -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