aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-03-22 11:24:13 +0000
committerMatthew Wild <mwild1@gmail.com>2013-03-22 11:24:13 +0000
commit5472f5c742da02a37052bb66f3d0e1982f14cd20 (patch)
tree1e67ce8fe4ff9a9e1b8f141e9de29656367a822a /core
parentc35eabfe0ddad47f11bb0c8b396e5a50b4845567 (diff)
downloadprosody-5472f5c742da02a37052bb66f3d0e1982f14cd20.tar.gz
prosody-5472f5c742da02a37052bb66f3d0e1982f14cd20.zip
hostmanager: Use prosody.hosts instead of 'hosts' global
Diffstat (limited to 'core')
-rw-r--r--core/hostmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index 52f494b5..800f7b34 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -17,7 +17,7 @@ local uuid_gen = require "util.uuid".generate;
local log = require "util.logger".init("hostmanager");
-local hosts = hosts;
+local hosts = prosody.hosts;
local prosody_events = prosody.events;
if not _G.prosody.incoming_s2s then
require "core.s2smanager";