Software /
code /
prosody-modules
Diff
mod_invites/mod_invites.lua @ 4342:84e60c3d6e61
mod_invites: Fix luacheck warning
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 17 Jan 2021 12:47:56 +0000 |
parent | 4341:a104440c20a4 |
child | 4344:844cfc8c4039 |
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