# HG changeset patch # User Kim Alvefur # Date 1641411798 -3600 # Node ID 51b7ade94d50d6fcb9095435d11e17a82fbe7666 # Parent 87532eebd0b819e73170b5e6b99f02677cd28d2b mod_invites: Silence luacheck warning diff -r 87532eebd0b8 -r 51b7ade94d50 plugins/mod_invites.lua --- a/plugins/mod_invites.lua Mon Dec 27 20:46:34 2021 +0100 +++ b/plugins/mod_invites.lua Wed Jan 05 20:43:18 2022 +0100 @@ -242,7 +242,7 @@ local mm = require "core.modulemanager"; local host = arg[1]; - assert(hosts[host], "Host "..tostring(host).." does not exist"); + assert(prosody.hosts[host], "Host "..tostring(host).." does not exist"); sm.initialize_host(host); table.remove(arg, 1); -- pop host module.host = host; --luacheck: ignore 122/module