Mercurial > prosody-hg
view util/time.lua @ 8787:5dbebb7627ef
prosodyctl: Config check for modules that are also components (fixes #1138)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 11 May 2018 16:03:35 +0200 |
| parents | 72e48bddf617 |
| children |
line wrap: on
line source
-- 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; }
