From 399f42a0034f61063330f05e486049e18efdc122 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(+) (limited to 'net') 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