Diff

plugins/mod_c2s.lua @ 12302:6a8c680b8677

mod_c2s: Ignore unused event payload [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 18 Feb 2022 23:13:01 +0100
parent 12301:4f1fe6eb1ddb
child 12309:926a6c5d13e7
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