From 3ba555b9c5e925d138ee4a287f242f2c748f7100 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 22 Mar 2013 11:24:13 +0000 Subject: hostmanager: Use prosody.hosts instead of 'hosts' global --- core/hostmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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"; -- cgit v1.2.3