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 | c84cd87f944f1bf63db2c29d299c66f915e47957 (patch) | |
tree | 6de08bbe8262137d01d79dc7c5055b25c8d18e2e /util/timer.lua | |
parent | bd7462cf581915de5a04c36a3c48c6ed8ce5febe (diff) | |
download | prosody-c84cd87f944f1bf63db2c29d299c66f915e47957.tar.gz prosody-c84cd87f944f1bf63db2c29d299c66f915e47957.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; |