diff --git a/mods/mysql_auth b/mods/mysql_auth index 333fc89..5cebbaf 160000 --- a/mods/mysql_auth +++ b/mods/mysql_auth @@ -1 +1 @@ -Subproject commit 333fc8916e05a1d53e5549158980d23d585a7b88 +Subproject commit 5cebbaf03c18f8fccfc188f34af864dd3008fbf9 diff --git a/mods/xban2/gui.lua b/mods/xban2/gui.lua index fb0c1df..97902d3 100644 --- a/mods/xban2/gui.lua +++ b/mods/xban2/gui.lua @@ -9,7 +9,8 @@ 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 + local enumerate = minetest.get_auth_handler().enumerate_auths + for k in enumerate and enumerate() or pairs(minetest.auth_table) do if strfind(k, filter, 1, true) then if n >= MAXLISTSIZE then dropped = true