aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/basic.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-15 23:09:42 +0100
committerKim Alvefur <zash@zash.se>2021-03-15 23:09:42 +0100
commit409c611a377778342cf27840b1871651df1ad328 (patch)
tree197faeb4038b44ad74f4594670ac09c074a463d9 /net/resolvers/basic.lua
parent90e4a09661c9f91fc57faf5f150656add797b5d4 (diff)
downloadprosody-409c611a377778342cf27840b1871651df1ad328.tar.gz
prosody-409c611a377778342cf27840b1871651df1ad328.zip
net.resolvers.basic: Fix completion condition when IPv6 is disabled
Fixes mistake introduced in 5a71f14ab77c that made it so this ready() newer got called and thus it would be stuck waiting for it. Looks like the kind of thing that could have been introduced by a merge or rebase. Thanks MattJ
Diffstat (limited to 'net/resolvers/basic.lua')
-rw-r--r--net/resolvers/basic.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua
index c0e7cb88..3c0e69f5 100644
--- a/net/resolvers/basic.lua
+++ b/net/resolvers/basic.lua
@@ -74,6 +74,8 @@ function methods:next(cb)
end
ready();
end, self.hostname, "AAAA", "IN");
+ else
+ ready();
end
if self.extra and self.extra.use_dane == true then