Changeset

6248:4569b8cbd269

plugins/muc/mod_muc: Get rid of room global; use module:shared to get it
author daurnimator <quae@daurnimator.com>
date Mon, 19 May 2014 13:39:45 -0400
parents 6247:851647eb6657
children 6249:2420e308f64a
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Wed Apr 30 12:43:47 2014 -0400
+++ b/plugins/muc/mod_muc.lua	Mon May 19 13:39:45 2014 -0400
@@ -20,7 +20,6 @@
 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"));