Diff

plugins/muc/mod_muc.lua @ 5376:ba9be0be4bbb

MUC: Access prosody.hosts instead of the old global hosts
author Kim Alvefur <zash@zash.se>
date Sat, 23 Mar 2013 02:24:11 +0100
parent 5335:bb81c13d2c6f
child 5500:eeea0eb2602a
line wrap: on
line diff
--- 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;