Software /
code /
prosody
File
util/time.lua @ 7908:dbdaa8487ecd
mod_mam: Fix to treat first return value from archive:append as assigned ID
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Feb 2017 01:26:48 +0100 |
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; }