diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-30 17:52:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-30 17:52:30 +0200 |
commit | 345e598a25ef74230289258e796786445a2e62b4 (patch) | |
tree | 2272513cbd919ceae32c25328d3db03c3a08118b /plugins | |
parent | 82228a45de00a59718e5b180effb84438c548f5f (diff) | |
download | prosody-345e598a25ef74230289258e796786445a2e62b4.tar.gz prosody-345e598a25ef74230289258e796786445a2e62b4.zip |
mod_s2s: Silence luacheck warnings in s2sout module
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_s2s/s2sout.lib.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua index 1c0cd5ed..fd461c12 100644 --- a/plugins/mod_s2s/s2sout.lib.lua +++ b/plugins/mod_s2s/s2sout.lib.lua @@ -8,6 +8,8 @@ --- Module containing all the logic for connecting to a remote server +-- luacheck: ignore 432/err + local portmanager = require "core.portmanager"; local wrapclient = require "net.server".wrapclient; local initialize_filters = require "util.filters".initialize; @@ -16,7 +18,6 @@ local new_ip = require "util.ip".new_ip; local rfc6724_dest = require "util.rfc6724".destination; local socket = require "socket"; local adns = require "net.adns"; -local dns = require "net.dns"; local t_insert, t_sort, ipairs = table.insert, table.sort, ipairs; local local_addresses = require "util.net".local_addresses; @@ -174,6 +175,7 @@ function s2sout.try_connect(host_session, connect_host, connect_port, err) if not err then local IPs = {}; host_session.ip_hosts = IPs; + :make local handle4, handle6; local have_other_result = not(has_ipv4) or not(has_ipv6) or false; |