diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-05 20:43:18 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-05 20:43:18 +0100 |
commit | 3cffb629203d18098bb46d8b8ac26a43213cb455 (patch) | |
tree | cefc1cc068100155c7fbe46d055e4e4ac478bbb5 /plugins | |
parent | 93578db96d5831b4786450fdd5cc15ccd2697c01 (diff) | |
download | prosody-3cffb629203d18098bb46d8b8ac26a43213cb455.tar.gz prosody-3cffb629203d18098bb46d8b8ac26a43213cb455.zip |
mod_invites: Silence luacheck warning
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_invites.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_invites.lua b/plugins/mod_invites.lua index 8933b2bd..bf8cddec 100644 --- a/plugins/mod_invites.lua +++ b/plugins/mod_invites.lua @@ -242,7 +242,7 @@ function module.command(arg) 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 |