net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2)

remotes/origin/0.11
Kim Alvefur 8 years ago
parent e1a94acbb9
commit 78dd613bca
  1. 1
      net/adns.lua

@ -12,6 +12,7 @@ local new_resolver = require "net.dns".resolver;
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

Loading…
Cancel
Save