Changeset

9413:127208a6107c

mod_s2s: Silence luacheck warnings in s2sout module
author Kim Alvefur <zash@zash.se>
date Sun, 30 Sep 2018 17:52:30 +0200
parents 9412:063977461363
children 9414:a48579a7b709
files plugins/mod_s2s/s2sout.lib.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/s2sout.lib.lua	Sun Sep 30 17:49:56 2018 +0200
+++ b/plugins/mod_s2s/s2sout.lib.lua	Sun Sep 30 17:52:30 2018 +0200
@@ -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 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 @@
 	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;