aboutsummaryrefslogtreecommitdiffstats
path: root/util/throttle.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-01-13 23:30:00 +0000
committerMatthew Wild <mwild1@gmail.com>2012-01-13 23:30:00 +0000
commitca964ddb88627847099e3dc18c29cdf263a8b8e5 (patch)
treee00ae28f218227e1c1ba06f4775b3d02c6a5dae8 /util/throttle.lua
parent8eba0e5ebdb9a49deaa9ce2768f07a89854a46d7 (diff)
downloadprosody-ca964ddb88627847099e3dc18c29cdf263a8b8e5.tar.gz
prosody-ca964ddb88627847099e3dc18c29cdf263a8b8e5.zip
util.throttle: Import setmetatable
Diffstat (limited to 'util/throttle.lua')
-rw-r--r--util/throttle.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/throttle.lua b/util/throttle.lua
index 8b62e797..82b0a67b 100644
--- a/util/throttle.lua
+++ b/util/throttle.lua
@@ -1,5 +1,6 @@
local gettime = require "socket".gettime;
+local setmetatable = setmetatable;
module "throttle"