Software /
code /
prosody
Changeset
5898:bf9aba718c01
util/timer: Re-set params when timer is rescheduled
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Wed, 06 Nov 2013 12:56:18 -0500 |
parents | 5897:296e32a1ff33 |
children | 5899:26f54b462601 |
files | util/timer.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/timer.lua Thu Oct 31 20:49:03 2013 +0100 +++ b/util/timer.lua Wed Nov 06 12:56:18 2013 -0500 @@ -105,6 +105,7 @@ local success, err = xpcall(_call, _traceback_handler); if success and type(err) == "number" then h:insert(_callback, err + now, _id); -- re-add + params[_id] = _param; end end next_time = peek;