mod_invites: Fix some more luacheck warnings
authorMatthew Wild <mwild1@gmail.com>
Sun, 17 Jan 2021 12:50:19 +0000
changeset 4348 844cfc8c4039
parent 4347 ee313922b8d1
child 4349 1bb08e9ffa82
mod_invites: Fix some more luacheck warnings
mod_invites/mod_invites.lua
--- a/mod_invites/mod_invites.lua	Sun Jan 17 12:49:20 2021 +0000
+++ b/mod_invites/mod_invites.lua	Sun Jan 17 12:50:19 2021 +0000
@@ -89,7 +89,7 @@
 	return it.filter(is_valid_invite, pairs(store:get(nil) or {}));
 end
 
-function get_account_invite_info(token)
+function get_account_invite_info(token) --luacheck: ignore 131/get_account_invite_info
 	if not token then
 		return nil, "no-token";
 	end
@@ -105,7 +105,7 @@
 	return token_info;
 end
 
-function delete_account_invite(token)
+function delete_account_invite(token) --luacheck: ignore 131/delete_account_invite
 	if not token then
 		return nil, "no-token";
 	end