diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-29 16:58:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-29 16:58:06 +0200 |
commit | 36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7 (patch) | |
tree | c0994da18bdaa499566223d829c33c0009ae32b0 /core/usermanager.lua | |
parent | 8760f89c36fa2e16c730b267bcaee8999bdbd9b5 (diff) | |
download | prosody-36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7.tar.gz prosody-36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7.zip |
core: Use prosody.hosts instead of _G.hosts for consistency
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r-- | core/usermanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index ca1666ed..bb5669cf 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -13,11 +13,11 @@ local ipairs = ipairs; local jid_bare = require "util.jid".bare; local jid_prep = require "util.jid".prep; local config = require "core.configmanager"; -local hosts = hosts; local sasl_new = require "util.sasl".new; local storagemanager = require "core.storagemanager"; local prosody = _G.prosody; +local hosts = prosody.hosts; local setmetatable = setmetatable; |