Software /
code /
prosody
Comparison
util/throttle.lua @ 12975:d10957394a3c
util: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2023 16:23:16 +0100 |
parent | 8555:4f0f5b49bb03 |
comparison
equal
deleted
inserted
replaced
12974:ba409c67353b | 12975:d10957394a3c |
---|---|
1 | 1 |
2 local gettime = require "util.time".now | 2 local gettime = require "prosody.util.time".now |
3 local setmetatable = setmetatable; | 3 local setmetatable = setmetatable; |
4 | 4 |
5 local _ENV = nil; | 5 local _ENV = nil; |
6 -- luacheck: std none | 6 -- luacheck: std none |
7 | 7 |