bugfixes
This commit is contained in:
parent
2c660c0a09
commit
60c7c2c60b
4 changed files with 12 additions and 9 deletions
|
@ -38,7 +38,7 @@ local function receiveUpdate(self, update)
|
|||
and not to then return end
|
||||
|
||||
local args = {}
|
||||
txt = msg.text:sub(#cmd + #(to or {}) + 3)
|
||||
msg.text = msg.text:sub(#cmd + #(to or '') + 3)
|
||||
for s in msg.text:gmatch '%S+' do table.insert(args, s) end
|
||||
|
||||
msg.cmd = cmd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue