aboutsummaryrefslogtreecommitdiffstats
path: root/util/timer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/timer.lua')
-rw-r--r--util/timer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/timer.lua b/util/timer.lua
index 2277ee77..c7996bfa 100644
--- a/util/timer.lua
+++ b/util/timer.lua
@@ -9,7 +9,7 @@
local indexedbheap = require "util.indexedbheap";
local log = require "util.logger".init("timer");
local server = require "net.server";
-local get_time = require "socket".gettime;
+local get_time = require "util.time".now
local type = type;
local debug_traceback = debug.traceback;
local tostring = tostring;