diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-06 01:42:35 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-06 01:42:35 +0200 |
commit | dae9409576a09ff443cf100e683382322a74303f (patch) | |
tree | 91ebc48c1faf1b19d1247ed690b86a87d7402d42 | |
parent | efa2b00bd473c466248b84d268a467a77b1f853d (diff) | |
download | prosody-dae9409576a09ff443cf100e683382322a74303f.tar.gz prosody-dae9409576a09ff443cf100e683382322a74303f.zip |
net.http: Import setmetatable into local scope (fixes #1125)
-rw-r--r-- | net/http.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http.lua b/net/http.lua index cc67a45c..effb0ef5 100644 --- a/net/http.lua +++ b/net/http.lua @@ -22,6 +22,7 @@ local pairs = pairs; local tonumber, tostring, xpcall, traceback = tonumber, tostring, xpcall, debug.traceback; local error = error +local setmetatable = setmetatable; local log = require "util.logger".init("http"); |