Update signal.lua

register does not return function handle
Merge pull request #30 from headchant/patch-1

Update signal.lua