diff --git a/tptmp/server/plugins/ban.lua b/tptmp/server/plugins/ban.lua index 3d560fe..ce53d8e 100644 --- a/tptmp/server/plugins/ban.lua +++ b/tptmp/server/plugins/ban.lua @@ -95,7 +95,7 @@ return { local user do local err, human - local user, err, human = server:offline_user_by_nick(data.nick) + user, err, human = server:offline_user_by_nick(data.nick) if not user then if err == "backendfail" then return { status = "backendfail", human = "failed to query user: " .. human } diff --git a/tptmp/server/plugins/owner.lua b/tptmp/server/plugins/owner.lua index 23bfe86..ec96d13 100644 --- a/tptmp/server/plugins/owner.lua +++ b/tptmp/server/plugins/owner.lua @@ -442,7 +442,7 @@ return { local user do local err, human - uid, err, human = server:offline_user_by_nick(data.nick) + user, err, human = server:offline_user_by_nick(data.nick) if not user then if err == "backendfail" then return { status = "backendfail", human = "failed to query user: " .. human }