MUC: Access prosody.hosts instead of the old global hosts

This commit is contained in:
Kim Alvefur 2013-03-23 02:24:11 +01:00
parent aaf84ae073
commit 974917a5a2

View file

@ -30,7 +30,7 @@ local st = require "util.stanza";
local uuid_gen = require "util.uuid".generate;
local datamanager = require "util.datamanager";
local um_is_admin = require "core.usermanager".is_admin;
local hosts = hosts;
local hosts = prosody.hosts;
rooms = {};
local rooms = rooms;