Software /
code /
prosody
File
util/time.lua @ 9022:293ebfed71f7
MUC: Simplify creation of <{muc}x> for room creation
It’s only sent to the creator so no need to have separate variants for
different kinds of participants.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 12 Jul 2018 01:23:19 +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; }