diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-10-30 17:56:00 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-10-30 17:56:00 -0400 |
commit | ad2211ad5722c3f1e46587682eaa85210321a68d (patch) | |
tree | dbfc5b5afbb2211f503df0d511eb8ab24b273f15 /util | |
parent | 0f260f9b4e23572e8063c0e4302ca9bccac117d0 (diff) | |
download | prosody-ad2211ad5722c3f1e46587682eaa85210321a68d.tar.gz prosody-ad2211ad5722c3f1e46587682eaa85210321a68d.zip |
util.timer: Fix another variable name typo (thanks again zash).
Diffstat (limited to 'util')
-rw-r--r-- | util/timer.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/timer.lua b/util/timer.lua index 99aade15..76deaff1 100644 --- a/util/timer.lua +++ b/util/timer.lua @@ -96,8 +96,8 @@ local function _on_timer(now) local _; _, _callback, _id = h:pop(); _now = now; - _param = params[id]; - params[id] = nil; + _param = params[_id]; + params[_id] = nil; --item(now, id, _param); -- FIXME pcall local success, err = xpcall(_call, _traceback_handler); if success and type(err) == "number" then |