aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 02:24:11 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 02:24:11 +0100
commit974917a5a22e27441c086474be2672b3ba1fa3af (patch)
treeb8029f66eec98ecd2067b33e030aee0e8cbd3f9f /plugins
parentaaf84ae073c034153b1f3018d4ebf7aaa3a21813 (diff)
downloadprosody-974917a5a22e27441c086474be2672b3ba1fa3af.tar.gz
prosody-974917a5a22e27441c086474be2672b3ba1fa3af.zip
MUC: Access prosody.hosts instead of the old global hosts
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 9f907f17..2c2d02f7 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -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;