aboutsummaryrefslogtreecommitdiffstats
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
commit3ba555b9c5e925d138ee4a287f242f2c748f7100 (patch)
tree1e67ce8fe4ff9a9e1b8f141e9de29656367a822a
parenta2a4f805cd1882fee2d736094550325a9f72119b (diff)
downloadprosody-3ba555b9c5e925d138ee4a287f242f2c748f7100.tar.gz
prosody-3ba555b9c5e925d138ee4a287f242f2c748f7100.zip
hostmanager: Use prosody.hosts instead of 'hosts' global
-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";