aboutsummaryrefslogtreecommitdiffstats
path: root/util/statsd.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/statsd.lua
parent29b64a45009858091f41e6443561299cac3416b8 (diff)
parent83d1e9570a93cbea53e0420ada95e7273695fe78 (diff)
downloadprosody-c160b029b0eeff8c57d8ddcde8a5f7c424074631.tar.gz
prosody-c160b029b0eeff8c57d8ddcde8a5f7c424074631.zip
Merge 0.10->trunk
Diffstat (limited to 'util/statsd.lua')
-rw-r--r--util/statsd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/statsd.lua b/util/statsd.lua
index e5322de9..67481c36 100644
--- a/util/statsd.lua
+++ b/util/statsd.lua
@@ -1,6 +1,6 @@
local socket = require "socket";
-local time = require "socket".gettime;
+local time = require "util.time".now
local function new(config)
if not config or not config.statsd_server then