Software /
code /
prosody-modules
Changeset
4344:844cfc8c4039
mod_invites: Fix some more luacheck warnings
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 17 Jan 2021 12:50:19 +0000 |
parents | 4343:ee313922b8d1 |
children | 4345:1bb08e9ffa82 |
files | mod_invites/mod_invites.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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