File

util/time.lua @ 8986:320ae6dbb2e8

MUC: Add roomconfig_roomname to disco#info, and ensure it's not auto-generated
author Matthew Wild <mwild1@gmail.com>
date Sat, 07 Jul 2018 12:14:29 +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;
}