File

util/time.lua @ 9148:a474c94d0b0a

MUC: Remove 307 status from error-kicks (fixes #939)
author Matthew Wild <mwild1@gmail.com>
date Wed, 08 Aug 2018 08:12:36 +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;
}