diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-09-25 16:51:42 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-09-25 16:51:42 +0100 |
commit | 99fd12af8f8d5532cc20726f94894265cabd128f (patch) | |
tree | eea2862632b81d8c25ac5278d21adb835531d35c /net | |
parent | 0da792c4565b53e9d81fa0944abb9a908e078e55 (diff) | |
parent | 1ec2105627d40bd9b9744657fabbb58af22c2a76 (diff) | |
download | prosody-99fd12af8f8d5532cc20726f94894265cabd128f.tar.gz prosody-99fd12af8f8d5532cc20726f94894265cabd128f.zip |
Merge 0.9->0.10
Diffstat (limited to 'net')
-rw-r--r-- | net/dns.lua | 4 |
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 |