File

util/time.lua @ 8850:26f1a49fa9c0

MUC: Include a human-readable error message when not allowed to change subject
author Kim Alvefur <zash@zash.se>
date Fri, 01 Jun 2018 08:47:07 +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;
}