diff options
author | Kim Alvefur <zash@zash.se> | 2013-03-23 02:24:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-03-23 02:24:11 +0100 |
commit | 0019ee9380c3129056cd4521018a888b69068ca0 (patch) | |
tree | b8029f66eec98ecd2067b33e030aee0e8cbd3f9f /plugins | |
parent | 378055f9c1e2033618acae79d407249a78199f82 (diff) | |
download | prosody-0019ee9380c3129056cd4521018a888b69068ca0.tar.gz prosody-0019ee9380c3129056cd4521018a888b69068ca0.zip |
MUC: Access prosody.hosts instead of the old global hosts
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
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; |