aboutsummaryrefslogtreecommitdiffstats
path: root/net/adns.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-06-25 17:55:24 +0200
committerKim Alvefur <zash@zash.se>2020-06-25 17:55:24 +0200
commitbde46d79cdd729cb2e7dbea290e4a05e18e5b0ad (patch)
tree13629c5e4c16b3fab749d6d8b1d8544f5e7e3517 /net/adns.lua
parentc98a6d205e85ef1a580cd95301af9f3deddd3777 (diff)
downloadprosody-bde46d79cdd729cb2e7dbea290e4a05e18e5b0ad.tar.gz
prosody-bde46d79cdd729cb2e7dbea290e4a05e18e5b0ad.zip
net.adns: Log a warning if loaded (because net.unbound wasn't)
Diffstat (limited to 'net/adns.lua')
-rw-r--r--net/adns.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/adns.lua b/net/adns.lua
index bf6c11ab..852f3f4f 100644
--- a/net/adns.lua
+++ b/net/adns.lua
@@ -12,6 +12,8 @@ local promise = require "util.promise";
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;