aboutsummaryrefslogtreecommitdiffstats
path: root/util/throttle.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-20 03:11:27 +0100
committerKim Alvefur <zash@zash.se>2017-03-20 03:11:27 +0100
commitc160b029b0eeff8c57d8ddcde8a5f7c424074631 (patch)
treeebce784d8a5d08c50eb50fb1ab530afa46dd1782 /util/throttle.lua
parent29b64a45009858091f41e6443561299cac3416b8 (diff)
parent83d1e9570a93cbea53e0420ada95e7273695fe78 (diff)
downloadprosody-c160b029b0eeff8c57d8ddcde8a5f7c424074631.tar.gz
prosody-c160b029b0eeff8c57d8ddcde8a5f7c424074631.zip
Merge 0.10->trunk
Diffstat (limited to 'util/throttle.lua')
-rw-r--r--util/throttle.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/throttle.lua b/util/throttle.lua
index 3d3f5d2d..18692a8a 100644
--- a/util/throttle.lua
+++ b/util/throttle.lua
@@ -1,5 +1,5 @@
-local gettime = require "socket".gettime;
+local gettime = require "util.time".now
local setmetatable = setmetatable;
local floor = math.floor;