aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-02-18 23:13:01 +0100
committerKim Alvefur <zash@zash.se>2022-02-18 23:13:01 +0100
commitb70a61be4ce819aaed7bc13aab35996b6aed9659 (patch)
tree6b5d0c7988b91faaf6553e69e3937e9e997facf3 /plugins
parenta8f4892fe34a04f53fe2099f03e7e3863cda9e54 (diff)
downloadprosody-b70a61be4ce819aaed7bc13aab35996b6aed9659.tar.gz
prosody-b70a61be4ce819aaed7bc13aab35996b6aed9659.zip
mod_c2s: Ignore unused event payload [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_c2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index 05c37824..33fd7a0a 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -424,7 +424,7 @@ end
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