Software / code / prosody
File
util/time.lua @ 9141:c1368fb756bf
mod_pep: Pass 'recipients' table across module reloads
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 06 Aug 2018 18:58:25 +0200 |
| parent | 7461:72e48bddf617 |
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; }