diff options
author | pixel <pixel> | 2007-05-27 14:11:17 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-05-27 14:11:17 +0000 |
commit | 696bff2dc0dfb92ea4ae664c1cfab43f1d3832f1 (patch) | |
tree | d53baef36ada57b5c9274b50f8a0a2eb99ddd9eb /lib | |
parent | d90db46a553741dcf37a327b7992ac2c70e41362 (diff) |
Fixing lua support lib a bit.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasklib.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/tasklib.lua b/lib/tasklib.lua index bfb6cca..e2e8746 100644 --- a/lib/tasklib.lua +++ b/lib/tasklib.lua @@ -3,13 +3,9 @@ -- function HttpClient(url) - return coroutine.yield("HttpClient", url)) + return coroutine.yield("HttpClient", url) end function Command(command, ...) - return coroutine.yield("Command", command, - arg[ 1], arg[ 2], arg[ 3], arg[ 4], arg[ 5], arg[ 6], arg[ 7], arg[ 8], - arg[ 9], arg[10], arg[11], arg[12], arg[13], arg[14], arg[15], arg[16], - arg[17], arg[18], arg[19], arg[20], arg[21], arg[22], arg[23], arg[24], - arg[25], arg[26], arg[27], arg[28], arg[29], arg[30], arg[31], arg[32]) + return coroutine.yield("Command", command, unpack(arg)) end |