Changeset

8280:9ca0e3128b62

net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2)
author Kim Alvefur <zash@zash.se>
date Wed, 27 Sep 2017 17:34:54 +0200
parents 8279:92cddfe65003
children 8281:6bfaa43bea3c
files net/adns.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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