From 696bff2dc0dfb92ea4ae664c1cfab43f1d3832f1 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 27 May 2007 14:11:17 +0000 Subject: Fixing lua support lib a bit. --- lib/tasklib.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3