Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretX33 committed Jan 2, 2021
1 parent 9920acb commit 82cb5d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutomaticWeaponRemoval.lua
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ end

-- Remove spaces on start and end of string
local function trim(s)
if str==nil then return "" end
if s==nil then return "" end
assert(type(s) == "string", "bad argument #1: 's' needs to be a string; instead what came was " .. tostring(type(s)))
return string.match(s,'^()%s*$') and '' or string.match(s,'^%s*(.*%S)')
end
Expand Down

0 comments on commit 82cb5d6

Please sign in to comment.