Changeset

3550:8079e9c6d419

mod_admin_web: Ignore shadowed 'ok' variable, nothing to worry about [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 05 Apr 2019 19:02:17 +0200
parents 3549:b059a3fb2a58
children 3551:7fc6a63c3bd0
files mod_admin_web/admin_web/mod_admin_web.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_admin_web/admin_web/mod_admin_web.lua	Fri Apr 05 18:57:51 2019 +0200
+++ b/mod_admin_web/admin_web/mod_admin_web.lua	Fri Apr 05 19:02:17 2019 +0200
@@ -255,6 +255,7 @@
 
 	-- Register adminsub handler
 	module:hook("iq/host/http://prosody.im/adminsub:adminsub", function(event)
+		-- luacheck: ignore 431/ok
 		local origin, stanza = event.origin, event.stanza;
 		local adminsub = stanza.tags[1];
 		local action = adminsub.tags[1];