Skip to content

Commit

Permalink
Fixed arguments with quotes inside them (#1768)
Browse files Browse the repository at this point in the history
* Actually fixed quoted args

A fix for a pr (#1766) I made

* Update Split function
  • Loading branch information
WalkerOfBacon authored Nov 26, 2024
1 parent f134a17 commit 114cb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainModule/Server/Core/Functions.luau
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ return function(Vargs, GetEnv)
if #tab>=num then
break
elseif #tab>=num-1 then
table.insert(tab,string.sub(msg,#str+3,#msg))
table.insert(tab,string.sub(msg,#str+#tab+(if str.." " == key or #(str.." ")==5 then 0 elseif #(str.." ")<5 then num-2 else 2),#msg))
continue
end

Expand Down

0 comments on commit 114cb6b

Please sign in to comment.