Software /
code /
verse
Changeset
16:13444ae6e3c4
verse: Fix stream:hook() to pass additional parameters to the underlying hook(), so we don't strip priority
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 30 Nov 2009 15:53:44 +0000 |
parents | 15:be4154ed4e3a |
children | 17:ec6b0b94826c |
files | init.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/init.lua Mon Nov 30 15:52:52 2009 +0000 +++ b/init.lua Mon Nov 30 15:53:44 2009 +0000 @@ -68,8 +68,8 @@ return self.events.fire_event(name, ...); end -function stream:hook(name, callback) - return self.events.add_handler(name, callback); +function stream:hook(name, ...) + return self.events.add_handler(name, ...); end function stream:add_plugin(name)