Software /
code /
prosody
Diff
core/rostermanager.lua @ 8717:9ddd0fbbe53a
core: Use prosody.hosts instead of _G.hosts for consistency
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 29 Mar 2018 16:58:06 +0200 |
parent | 8555:4f0f5b49bb03 |
child | 9303:72f0862978ef |
line wrap: on
line diff
--- a/core/rostermanager.lua Thu Mar 29 16:42:24 2018 +0200 +++ b/core/rostermanager.lua Thu Mar 29 16:58:06 2018 +0200 @@ -15,7 +15,7 @@ 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;