Skip to content

Commit

Permalink
Fix typos accumulated since v2.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
LBPHacker committed Jul 16, 2022
1 parent 1aff77e commit c2a022b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tptmp/server/plugins/ban.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion tptmp/server/plugins/owner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit c2a022b

Please sign in to comment.