# HG changeset patch # User Kim Alvefur # Date 1364001851 -3600 # Node ID ba9be0be4bbb53fdee50d546658726e03a8092c6 # Parent b31ab26f99979484f63d0a9ed61b80166d65a74c MUC: Access prosody.hosts instead of the old global hosts diff -r b31ab26f9997 -r ba9be0be4bbb plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Sat Mar 23 01:42:48 2013 +0100 +++ b/plugins/muc/mod_muc.lua Sat Mar 23 02:24:11 2013 +0100 @@ -30,7 +30,7 @@ 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;