Update signal.lua

register does not return function handle
This commit is contained in:
headchant 2014-02-13 22:36:45 +01:00
parent a837d1d802
commit e9e2019517

View File

@ -83,7 +83,7 @@ local default = new()
return setmetatable({ return setmetatable({
new = new, new = new,
register = function(...) default:register(...) end, register = function(...) return default:register(...) end,
emit = function(...) default:emit(...) end, emit = function(...) default:emit(...) end,
remove = function(...) default:remove(...) end, remove = function(...) default:remove(...) end,
clear = function(...) default:clear(...) end, clear = function(...) default:clear(...) end,