Software /
code /
prosody
Changeset
4812:5bcdc384e485
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 03 May 2012 18:59:06 +0100 |
parents | 4811:1d1fdfa29f06 |
children | 4813:77da9671ac39 |
files | util/timer.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/util/timer.lua Thu May 03 18:53:36 2012 +0100 +++ b/util/timer.lua Thu May 03 18:59:06 2012 +0100 @@ -60,8 +60,8 @@ return next_time; end); else - local event = require "net.server".event; - local event_base = require "net.server".event_base; + local event = server.event; + local event_base = server.event_base; local EVENT_LEAVE = (event.core and event.core.LEAVE) or -1; function _add_task(delay, callback)