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
commit8cc3779cc2aace85b44635460355601c164277ad (patch)
treee00ae28f218227e1c1ba06f4775b3d02c6a5dae8 /util/throttle.lua
parente898c683046c6ed14c3f3565418578661b986821 (diff)
downloadprosody-8cc3779cc2aace85b44635460355601c164277ad.tar.gz
prosody-8cc3779cc2aace85b44635460355601c164277ad.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"