From 0fefa83215aed2d65e64ca5b04d038299208af85 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 03:09:41 -0400 Subject: [PATCH] iteration --- auth_server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_server.lua b/auth_server.lua index 9b41fe7..c363c2c 100644 --- a/auth_server.lua +++ b/auth_server.lua @@ -112,7 +112,7 @@ while true do local found = false for user, userdata in pairs(data.users) do if userdata.token == request.token then - rednet.send(client_id, user, "auth") + rednet.send(client_id, userdata.username, "auth") found = true end end