mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Merge 0.10->trunk
This commit is contained in:
commit
f31e73eb48
3 changed files with 6 additions and 3 deletions
|
@ -397,7 +397,7 @@ function resolver:AAAA(rr)
|
|||
end
|
||||
addr = table.concat(addr, ":"):gsub("%f[%x]0+(%x)","%1");
|
||||
local zeros = {};
|
||||
for item in addr:gmatch(":[0:]+:") do
|
||||
for item in addr:gmatch(":[0:]+:[0:]+:") do
|
||||
table.insert(zeros, item)
|
||||
end
|
||||
if #zeros == 0 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue