diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-25 17:55:24 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-25 17:55:24 +0200 |
commit | bde46d79cdd729cb2e7dbea290e4a05e18e5b0ad (patch) | |
tree | 13629c5e4c16b3fab749d6d8b1d8544f5e7e3517 | |
parent | c98a6d205e85ef1a580cd95301af9f3deddd3777 (diff) | |
download | prosody-bde46d79cdd729cb2e7dbea290e4a05e18e5b0ad.tar.gz prosody-bde46d79cdd729cb2e7dbea290e4a05e18e5b0ad.zip |
net.adns: Log a warning if loaded (because net.unbound wasn't)
-rw-r--r-- | net/adns.lua | 2 |
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; |