Diff

plugins/muc/mod_muc.lua @ 6239:a791dd781238

plugins/muc/mod_muc: Remove support for `host_session.muc`
author daurnimator <quae@daurnimator.com>
date Tue, 29 Apr 2014 14:50:13 -0400
parent 6238:b2b523d21891
child 6240:641756a6a5f7
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Tue Apr 29 14:24:50 2014 -0400
+++ b/plugins/muc/mod_muc.lua	Tue Apr 29 14:50:13 2014 -0400
@@ -205,8 +205,6 @@
 	end, -2)
 end
 
-hosts[module:get_host()].muc = { rooms = rooms };
-
 local saved = false;
 module.save = function()
 	saved = true;
@@ -220,7 +218,6 @@
 		room._data = oldroom._data;
 		room._affiliations = oldroom._affiliations;
 	end
-	hosts[module:get_host()].muc = { rooms = rooms };
 end
 
 function shutdown_component()