Software /
code /
prosody
Diff
core/modulemanager.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 | 8916:e727747279a0 |
line wrap: on
line diff
--- a/core/modulemanager.lua Thu Mar 29 16:42:24 2018 +0200 +++ b/core/modulemanager.lua Thu Mar 29 16:58:06 2018 +0200 @@ -15,8 +15,8 @@ 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;