Software /
code /
prosody
Diff
net/adns.lua @ 10966:97de279ca01a
net.adns: Log a warning if loaded (because net.unbound wasn't)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 25 Jun 2020 17:55:24 +0200 |
parent | 10614:431511e190bc |
child | 10974:3b9d533da8fe |
line wrap: on
line diff
--- 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;