mod_c2s: Ignore unused event payload [luacheck]
authorKim Alvefur <zash@zash.se>
Fri, 18 Feb 2022 23:13:01 +0100
changeset 12306 6a8c680b8677
parent 12305 4f1fe6eb1ddb
child 12307 fa79db7e0a4d
mod_c2s: Ignore unused event payload [luacheck]
plugins/mod_c2s.lua
--- a/plugins/mod_c2s.lua	Thu Feb 17 03:49:47 2022 +0100
+++ b/plugins/mod_c2s.lua	Fri Feb 18 23:13:01 2022 +0100
@@ -424,7 +424,7 @@
 
 module:hook("c2s-read-timeout", keepalive, -1);
 
-module:hook("server-stopping", function(event)
+module:hook("server-stopping", function(event) -- luacheck: ignore 212/event
 	-- Close ports
 	local pm = require "core.portmanager";
 	for _, netservice in pairs(module.items["net-provider"]) do