diff options
author | Kim Alvefur <zash@zash.se> | 2019-11-08 00:54:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-11-08 00:54:56 +0100 |
commit | f57d4a439ae2a3b013703e9091b549b7ba315d64 (patch) | |
tree | 42b2a7263a6a53e0c7cf34c045835cc704d9c33e /net/resolvers/basic.lua | |
parent | 65bbfdb65b7abecb941537de863e4856e5b637cd (diff) | |
download | prosody-f57d4a439ae2a3b013703e9091b549b7ba315d64.tar.gz prosody-f57d4a439ae2a3b013703e9091b549b7ba315d64.zip |
net.resolvers: Fix traceback from hostname failing IDNA
Related to #1426
Diffstat (limited to 'net/resolvers/basic.lua')
-rw-r--r-- | net/resolvers/basic.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua index cafef58b..f37e74a2 100644 --- a/net/resolvers/basic.lua +++ b/net/resolvers/basic.lua @@ -21,6 +21,7 @@ function methods:next(cb) if not self.hostname then -- FIXME report IDNA error cb(nil); + return; end local targets = {}; |