Update [mysql_auth], fix xban2 using minetest.auth_table directly
parent
1c5fbd3552
commit
7adfc3269b
|
@ -1 +1 @@
|
|||
Subproject commit 333fc8916e05a1d53e5549158980d23d585a7b88
|
||||
Subproject commit 5cebbaf03c18f8fccfc188f34af864dd3008fbf9
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue