aboutsummaryrefslogtreecommitdiffstats
path: root/core/rostermanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-29 16:58:06 +0200
committerKim Alvefur <zash@zash.se>2018-03-29 16:58:06 +0200
commit77fbea8cdc788e69aa336aec3f3855f1b6071689 (patch)
treec0994da18bdaa499566223d829c33c0009ae32b0 /core/rostermanager.lua
parent9ce110e603b5b9077252f35002d48e1d8c53897f (diff)
downloadprosody-77fbea8cdc788e69aa336aec3f3855f1b6071689.tar.gz
prosody-77fbea8cdc788e69aa336aec3f3855f1b6071689.zip
core: Use prosody.hosts instead of _G.hosts for consistency
Diffstat (limited to 'core/rostermanager.lua')
-rw-r--r--core/rostermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index c8b94734..aa1ba9f3 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -15,7 +15,7 @@ local pairs = pairs;
local tostring = tostring;
local type = type;
-local hosts = hosts;
+local hosts = prosody.hosts;
local bare_sessions = prosody.bare_sessions;
local um_user_exists = require "core.usermanager".user_exists;