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 | 77fbea8cdc788e69aa336aec3f3855f1b6071689 (patch) | |
tree | c0994da18bdaa499566223d829c33c0009ae32b0 /core/modulemanager.lua | |
parent | 9ce110e603b5b9077252f35002d48e1d8c53897f (diff) | |
download | prosody-77fbea8cdc788e69aa336aec3f3855f1b6071689.tar.gz prosody-77fbea8cdc788e69aa336aec3f3855f1b6071689.zip |
core: Use prosody.hosts instead of _G.hosts for consistency
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index c23043df..60af8d79 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -15,8 +15,8 @@ local set = require "util.set"; local new_multitable = require "util.multitable".new; local api = require "core.moduleapi"; -- Module API container -local hosts = hosts; local prosody = prosody; +local hosts = prosody.hosts; local xpcall = xpcall; local setmetatable, rawget = setmetatable, rawget; |