aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-05-19 13:39:45 -0400
committerdaurnimator <quae@daurnimator.com>2014-05-19 13:39:45 -0400
commitc7f704026295901fadf0be6407110bd67075e0e3 (patch)
tree697a24cd6a78aa97b9d0d40231c2a1eb763f98a5
parent169df15f6cec44c23deda5c8274c30fbb357fef2 (diff)
downloadprosody-c7f704026295901fadf0be6407110bd67075e0e3.tar.gz
prosody-c7f704026295901fadf0be6407110bd67075e0e3.zip
plugins/muc/mod_muc: Get rid of room global; use module:shared to get it
-rw-r--r--plugins/muc/mod_muc.lua1
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"));