From bce60be30fe8e9c1b0eb33128c23c93d7bca5303 Mon Sep 17 00:00:00 2001 From: Diego Nehab <diego@tecgraf.puc-rio.br> Date: Wed, 27 May 2009 09:31:38 +0000 Subject: Decent makefiles! --- etc/dispatch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/dispatch.lua b/etc/dispatch.lua index 3ef1e72..5236f3d 100644 --- a/etc/dispatch.lua +++ b/etc/dispatch.lua @@ -54,7 +54,7 @@ function socket.protect(f) local results = {coroutine.resume(co, base.unpack(arg))} local status = table.remove(results, 1) if not status then - if type(results[1]) == 'table' then + if base.type(results[1]) == 'table' then return nil, results[1][1] else base.error(results[1]) end end -- cgit v1.2.3-55-g6feb