view util/time.lua @ 7962:4e9b307c30dd

mod_saslauth: Fix typoed variable name [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 06 Mar 2017 16:05:24 +0100
parents 72e48bddf617
children
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;
}