aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/service.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-08 00:54:56 +0100
committerKim Alvefur <zash@zash.se>2019-11-08 00:54:56 +0100
commit49995f4ec4d71d96baaf94c8e3da5c0c8c42fb82 (patch)
tree42b2a7263a6a53e0c7cf34c045835cc704d9c33e /net/resolvers/service.lua
parent9e67d0c7022a457ca5c51cdbbeafbc5d142b139a (diff)
downloadprosody-49995f4ec4d71d96baaf94c8e3da5c0c8c42fb82.tar.gz
prosody-49995f4ec4d71d96baaf94c8e3da5c0c8c42fb82.zip
net.resolvers: Fix traceback from hostname failing IDNA
Related to #1426
Diffstat (limited to 'net/resolvers/service.lua')
-rw-r--r--net/resolvers/service.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua
index bb255c33..34f14cba 100644
--- a/net/resolvers/service.lua
+++ b/net/resolvers/service.lua
@@ -28,6 +28,7 @@ function methods:next(cb)
if not self.hostname then
-- FIXME report IDNA error
cb(nil);
+ return;
end
local targets = {};