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
commit489b84390e375934d981d60c6ce6e9c4e190e93d (patch)
tree5bd232ca819a76f4c3a0b59fc7c4c4db4c146460 /util/throttle.lua
parent2311895df93e3b5ad63fa75fd66c17056bd2bca4 (diff)
downloadprosody-489b84390e375934d981d60c6ce6e9c4e190e93d.tar.gz
prosody-489b84390e375934d981d60c6ce6e9c4e190e93d.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"