Software / code / prosody
Changeset
8730:de74bc49385e
net.http: Import setmetatable into local scope (fixes #1125)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 06 Apr 2018 01:42:35 +0200 |
| parents | 8708:c53e9e27acc6 |
| children | 8731:6063f9211fd1 8741:0fd63ed1f647 |
| files | net/http.lua |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/http.lua Tue Apr 03 00:08:30 2018 +0200 +++ b/net/http.lua Fri Apr 06 01:42:35 2018 +0200 @@ -22,6 +22,7 @@ local tonumber, tostring, xpcall, traceback = tonumber, tostring, xpcall, debug.traceback; local error = error +local setmetatable = setmetatable; local log = require "util.logger".init("http");