aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 18:08:25 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 18:08:25 +0200
commit5fb304d7a14207bd63294d4032eb4d304139d7a9 (patch)
tree33843e77275613abfcff2be59f6f89059d59194d /net/dns.lua
parent356975370c97c43a3a0f3bb935ad027607d343cb (diff)
parentc241eab4631e190e64b993f803019e612a8c4304 (diff)
downloadprosody-5fb304d7a14207bd63294d4032eb4d304139d7a9.tar.gz
prosody-5fb304d7a14207bd63294d4032eb4d304139d7a9.zip
Merge 0.10->trunk
Diffstat (limited to 'net/dns.lua')
-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