diff options
author | Kim Alvefur <zash@zash.se> | 2011-04-15 00:54:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2011-04-15 00:54:10 +0200 |
commit | 66a908d35fcb8564d592e8e91133ef337e832284 (patch) | |
tree | a718055c5173a59df8f11689f0d95ef6801ee8bd /net/dns.lua | |
parent | 0257b8e30ca007b2387bbd76acaff293d66e055a (diff) | |
download | prosody-66a908d35fcb8564d592e8e91133ef337e832284.tar.gz prosody-66a908d35fcb8564d592e8e91133ef337e832284.zip |
net.dns: Fix TXT records
Diffstat (limited to 'net/dns.lua')
-rw-r--r-- | net/dns.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua index c905f56c..08cb0f7c 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -479,7 +479,7 @@ function resolver:PTR(rr) end function resolver:TXT(rr) -- - - - - - - - - - - - - - - - - - - - - - TXT - rr.txt = self:sub (rr.rdlength); + rr.txt = self:sub (self:byte()); end |