aboutsummaryrefslogtreecommitdiffstats
path: root/util/timer.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-10-30 17:56:00 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-10-30 17:56:00 -0400
commitc782ef5a75dea9e56a5b890df5306089260a1dcb (patch)
treedbfc5b5afbb2211f503df0d511eb8ab24b273f15 /util/timer.lua
parent053117d38dcf80f594cc75d9b4f9fc35d400d567 (diff)
downloadprosody-c782ef5a75dea9e56a5b890df5306089260a1dcb.tar.gz
prosody-c782ef5a75dea9e56a5b890df5306089260a1dcb.zip
util.timer: Fix another variable name typo (thanks again zash).
Diffstat (limited to 'util/timer.lua')
-rw-r--r--util/timer.lua4
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