Changeset

5360:e44cfbf0ae8d

hostmanager: Use prosody.hosts instead of 'hosts' global
author Matthew Wild <mwild1@gmail.com>
date Fri, 22 Mar 2013 11:24:13 +0000
parents 5359:43517e649c53
children 5361:38e7a5fafb28
files core/hostmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/hostmanager.lua	Fri Mar 22 11:23:40 2013 +0000
+++ b/core/hostmanager.lua	Fri Mar 22 11:24:13 2013 +0000
@@ -17,7 +17,7 @@
 
 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";