author | Kim Alvefur <zash@zash.se> |
Wed, 05 Jan 2022 20:43:18 +0100 | |
changeset 12147 | 51b7ade94d50 |
parent 12146 | 87532eebd0b8 |
child 12148 | 3e292e2a1e02 |
--- 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