Software /
code /
prosody
Changeset
12143:51b7ade94d50
mod_invites: Silence luacheck warning
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 05 Jan 2022 20:43:18 +0100 |
parents | 12142:87532eebd0b8 |
children | 12144:3e292e2a1e02 |
files | plugins/mod_invites.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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