From dae9409576a09ff443cf100e683382322a74303f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 6 Apr 2018 01:42:35 +0200 Subject: net.http: Import setmetatable into local scope (fixes #1125) --- net/http.lua | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.2.3