Software /
code /
prosody
Comparison
plugins/mod_s2s/s2sout.lib.lua @ 9414:a48579a7b709
mod_s2s: Fix previous commit
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Sep 2018 17:54:09 +0200 |
parent | 9413:127208a6107c |
child | 9871:744e08ac5596 |
comparison
equal
deleted
inserted
replaced
9413:127208a6107c | 9414:a48579a7b709 |
---|---|
173 local log = host_session.log or log; | 173 local log = host_session.log or log; |
174 | 174 |
175 if not err then | 175 if not err then |
176 local IPs = {}; | 176 local IPs = {}; |
177 host_session.ip_hosts = IPs; | 177 host_session.ip_hosts = IPs; |
178 :make | 178 -- luacheck: ignore 231/handle4 231/handle6 |
179 local handle4, handle6; | 179 local handle4, handle6; |
180 local have_other_result = not(has_ipv4) or not(has_ipv6) or false; | 180 local have_other_result = not(has_ipv4) or not(has_ipv6) or false; |
181 | 181 |
182 if has_ipv4 then | 182 if has_ipv4 then |
183 handle4 = host_session.resolver:lookup(function (reply, err) | 183 handle4 = host_session.resolver:lookup(function (reply, err) |