From cb7cea6809535bc261c90cc4a187d9632f29247b Mon Sep 17 00:00:00 2001 From: TheSumm Date: Sun, 25 Jan 2015 21:20:48 +0100 Subject: [PATCH] Tiny signalcall fix --- modules/corelib/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/corelib/util.lua b/modules/corelib/util.lua index a2ff02b1..0691fc88 100644 --- a/modules/corelib/util.lua +++ b/modules/corelib/util.lua @@ -313,7 +313,7 @@ function signalcall(param, ...) perror(ret) end end - elseif func ~= nil then + elseif param ~= nil then error('attempt to call a non function value') end return false