aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-12-20 13:56:38 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-12-20 13:56:38 +0100
commit32f021562ec77037412db8af08dbf55c282750ee (patch)
treede5f52cf443a97150563aeea8f2685080220b484
parent0725c6f58920851dc992bb9e3be053aadb3073b0 (diff)
downloadxban2-32f021562ec77037412db8af08dbf55c282750ee.tar.gz
xban2-32f021562ec77037412db8af08dbf55c282750ee.tar.bz2
xban2-32f021562ec77037412db8af08dbf55c282750ee.zip
Revert "Revert "Update to 5.0 auth.""
This reverts commit ddf3efedf25f35d68fa0590b85368c0ee09e35eb.
-rw-r--r--gui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.lua b/gui.lua
index c459f71..99ae6ec 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