hostmanager: Use prosody.hosts instead of 'hosts' global

This commit is contained in:
Matthew Wild 2013-03-22 11:24:13 +00:00
parent a2a4f805cd
commit 3ba555b9c5

View file

@ -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";