unpack to table.unpack

This commit is contained in:
Cloud Wu
2015-01-23 17:15:30 +08:00
parent 40794a90b8
commit e44f589c53
2 changed files with 11 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ local function dump_list(list)
end
skynet.start(function()
local list = skynet.call(".launcher","lua", unpack(cmd))
local list = skynet.call(".launcher","lua", table.unpack(cmd))
if list then
dump_list(list)
end