forked from minetest-mods/xban2
Update to 5.0 auth.
This commit is contained in:
parent
3270942a0f
commit
3b70045365
2
gui.lua
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user