Diff

plugins/muc/mod_muc.lua @ 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
parent 6247:851647eb6657
child 6276:9290a2906feb
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"));