File

util/time.lua @ 7781:0d31d8052dd8

mod_roster: Remove unused import [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 13 Dec 2016 21:23: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;
}