From e9e20195173bd9e147f17599b3189a8778c32bf0 Mon Sep 17 00:00:00 2001 From: headchant Date: Thu, 13 Feb 2014 22:36:45 +0100 Subject: [PATCH] Update signal.lua register does not return function handle --- signal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signal.lua b/signal.lua index 7cb246e..52b4d63 100644 --- a/signal.lua +++ b/signal.lua @@ -83,7 +83,7 @@ local default = new() return setmetatable({ new = new, - register = function(...) default:register(...) end, + register = function(...) return default:register(...) end, emit = function(...) default:emit(...) end, remove = function(...) default:remove(...) end, clear = function(...) default:clear(...) end,