aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-09 04:34:28 +0100
committerKim Alvefur <zash@zash.se>2017-03-09 04:34:28 +0100
commitb0e0a1d4878fe682389f2a5097b91814896b318d (patch)
treeb8907b558b3fd4862e165a7f9f449b826b5f2890 /util
parent1a41278b49862190aa475660119963201220a73b (diff)
downloadprosody-b0e0a1d4878fe682389f2a5097b91814896b318d.tar.gz
prosody-b0e0a1d4878fe682389f2a5097b91814896b318d.zip
util.time: Convert to C
Diffstat (limited to 'util')
-rw-r--r--util/time.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/util/time.lua b/util/time.lua
deleted file mode 100644
index 84cff877..00000000
--- a/util/time.lua
+++ /dev/null
@@ -1,8 +0,0 @@
--- Import gettime() from LuaSocket, as a way to access high-resolution time
--- in a platform-independent way
-
-local socket_gettime = require "socket".gettime;
-
-return {
- now = socket_gettime;
-}