# HG changeset patch # User Kim Alvefur # Date 1506526494 -7200 # Node ID 9ca0e3128b6282f11b7a265f17710bf73b8cc6c4 # Parent 92cddfe65003b0959c3f64765ee2c346469ee5aa net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2) diff -r 92cddfe65003 -r 9ca0e3128b62 net/adns.lua --- a/net/adns.lua Wed Sep 27 15:45:07 2017 +0200 +++ b/net/adns.lua Wed Sep 27 17:34:54 2017 +0200 @@ -12,6 +12,7 @@ local log = require "util.logger".init("adns"); local coroutine, tostring, pcall = coroutine, tostring, pcall; +local setmetatable = setmetatable; local function dummy_send(sock, data, i, j) return (j-i)+1; end