mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 20:05:22 +09:00
Bug Fixes Round One
This commit is contained in:
@@ -146,7 +146,8 @@ function commands.validate_args(event)
|
||||
index = index+1
|
||||
if not word then break end
|
||||
local pos, _pos = word:find('"')
|
||||
while pos and pos == _pos do
|
||||
local hasSecond = pos and word:find('"',pos+1) or nil
|
||||
while not hasSecond and pos and pos == _pos do
|
||||
local next = table.remove(words,index+1)
|
||||
if not next then return commands.error('invalid-parse') end
|
||||
words[index] = words[index]..' '..next
|
||||
|
||||
Reference in New Issue
Block a user