Changeset

12302:6a8c680b8677

mod_c2s: Ignore unused event payload [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 18 Feb 2022 23:13:01 +0100
parents 12301:4f1fe6eb1ddb
children 12303:fa79db7e0a4d
files plugins/mod_c2s.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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