aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_invites.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-05 20:43:18 +0100
committerKim Alvefur <zash@zash.se>2022-01-05 20:43:18 +0100
commit3cffb629203d18098bb46d8b8ac26a43213cb455 (patch)
treecefc1cc068100155c7fbe46d055e4e4ac478bbb5 /plugins/mod_invites.lua
parent93578db96d5831b4786450fdd5cc15ccd2697c01 (diff)
downloadprosody-3cffb629203d18098bb46d8b8ac26a43213cb455.tar.gz
prosody-3cffb629203d18098bb46d8b8ac26a43213cb455.zip
mod_invites: Silence luacheck warning
Diffstat (limited to 'plugins/mod_invites.lua')
-rw-r--r--plugins/mod_invites.lua2
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