projects
/
prosody.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
luacheckrc: make module a global in plugins/
[prosody.git]
/
util
/
time.lua
1
-- Import gettime() from LuaSocket, as a way to access high-resolution time
2
-- in a platform-independent way
3
4
local socket_gettime = require "socket".gettime;
5
6
return {
7
now = socket_gettime;
8
}