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 | 974917a5a22e27441c086474be2672b3ba1fa3af (patch) | |
tree | b8029f66eec98ecd2067b33e030aee0e8cbd3f9f | |
parent | aaf84ae073c034153b1f3018d4ebf7aaa3a21813 (diff) | |
download | prosody-974917a5a22e27441c086474be2672b3ba1fa3af.tar.gz prosody-974917a5a22e27441c086474be2672b3ba1fa3af.zip |
MUC: Access prosody.hosts instead of the old global hosts
-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; |