# HG changeset patch # User Kim Alvefur # Date 1593100524 -7200 # Node ID 97de279ca01ab30dd78cb85154b45db08d12c886 # Parent f5d5fc409680daaaf854c0bad3ab293ef1f95a42 net.adns: Log a warning if loaded (because net.unbound wasn't) diff -r f5d5fc409680 -r 97de279ca01a net/adns.lua --- a/net/adns.lua Thu Jun 25 17:41:07 2020 +0200 +++ b/net/adns.lua Thu Jun 25 17:55:24 2020 +0200 @@ -12,6 +12,8 @@ local log = require "util.logger".init("adns"); +log("warn", "Old async DNS library used, lua-unbound missing?"); -- TODO write docs about luaunbound + local coroutine, pcall = coroutine, pcall; local setmetatable = setmetatable;