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 | 639e6eb3e0d1d1370fa41f67cebccf4adeb0701f (patch) | |
tree | 13629c5e4c16b3fab749d6d8b1d8544f5e7e3517 | |
parent | 3b7348fb55baa9c30baf76cef28395b9c8ccc160 (diff) | |
download | prosody-639e6eb3e0d1d1370fa41f67cebccf4adeb0701f.tar.gz prosody-639e6eb3e0d1d1370fa41f67cebccf4adeb0701f.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; |