aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 18:07:33 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 18:07:33 +0200
commitc77e828701faec6e9d1321a57440453e868ab9a0 (patch)
tree47812a7ab61079a9ebce40a7cf61b1cf50eb0dcd /net
parente80179ba6e0ca23afc13fa2c723dbd5815bab5a5 (diff)
parent99fd12af8f8d5532cc20726f94894265cabd128f (diff)
downloadprosody-c77e828701faec6e9d1321a57440453e868ab9a0.tar.gz
prosody-c77e828701faec6e9d1321a57440453e868ab9a0.zip
Merge
Diffstat (limited to 'net')
-rw-r--r--net/dns.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 80bd895c..d893e38f 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -853,9 +853,7 @@ function resolver:receive(rset) -- - - - - - - - - - - - - - - - - receive
--self.print(response);
for j,rr in pairs(response.answer) do
- if rr.name:sub(-#response.question[1].name, -1) == response.question[1].name then
- self:remember(rr, response.question[1].type)
- end
+ self:remember(rr, response.question[1].type)
end
-- retire the query