Changeset

4342:84e60c3d6e61

mod_invites: Fix luacheck warning
author Matthew Wild <mwild1@gmail.com>
date Sun, 17 Jan 2021 12:47:56 +0000
parents 4341:a104440c20a4
children 4343:ee313922b8d1
files mod_invites/mod_invites.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_invites/mod_invites.lua	Sun Jan 17 12:47:47 2021 +0000
+++ b/mod_invites/mod_invites.lua	Sun Jan 17 12:47:56 2021 +0000
@@ -223,7 +223,7 @@
 	assert(hosts[host], "Host "..tostring(host).." does not exist");
 	sm.initialize_host(host);
 	table.remove(arg, 1); -- pop host
-	module.host = host;
+	module.host = host; --luacheck: ignore 122/module
 	token_storage = module:open_store("invite_token", "map");
 
 	-- Load mod_invites