diff options
author | daurnimator <quae@daurnimator.com> | 2013-11-06 12:56:18 -0500 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2013-11-06 12:56:18 -0500 |
commit | b3325a4073f83da672df19711e78be2d58c7ff92 (patch) | |
tree | 6de08bbe8262137d01d79dc7c5055b25c8d18e2e /util/timer.lua | |
parent | d938c65ce63fcc22d915abcc5215efdc52b5cec4 (diff) | |
download | prosody-b3325a4073f83da672df19711e78be2d58c7ff92.tar.gz prosody-b3325a4073f83da672df19711e78be2d58c7ff92.zip |
util/timer: Re-set params when timer is rescheduled
Diffstat (limited to 'util/timer.lua')
-rw-r--r-- | util/timer.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/timer.lua b/util/timer.lua index 451e27d3..23bd6a37 100644 --- a/util/timer.lua +++ b/util/timer.lua @@ -105,6 +105,7 @@ local function _on_timer(now) 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; |