diff options
author | daurnimator <quae@daurnimator.com> | 2014-05-19 13:39:45 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-05-19 13:39:45 -0400 |
commit | 2ca609d4fd0bd1a4414de184b657425df86bafc3 (patch) | |
tree | 697a24cd6a78aa97b9d0d40231c2a1eb763f98a5 | |
parent | ab23352301da2beecdd00a8ab1d3d5dc189cfd24 (diff) | |
download | prosody-2ca609d4fd0bd1a4414de184b657425df86bafc3.tar.gz prosody-2ca609d4fd0bd1a4414de184b657425df86bafc3.zip |
plugins/muc/mod_muc: Get rid of room global; use module:shared to get it
-rw-r--r-- | plugins/muc/mod_muc.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 79123ab5..628c72b3 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -20,7 +20,6 @@ local um_is_admin = require "core.usermanager".is_admin; local hosts = prosody.hosts; local rooms = module:shared "rooms"; -_G.rooms = rooms; module:depends("disco"); module:add_identity("conference", "text", module:get_option_string("name", "Prosody Chatrooms")); |