From c2a022b4b98dfbb8d9cac3a9fef5fd40f4ef33e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 16 Jul 2022 21:52:15 +0200 Subject: [PATCH] Fix typos accumulated since v2.0.22 --- tptmp/server/plugins/ban.lua | 2 +- tptmp/server/plugins/owner.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }