From 366230127ae1ecdd34709b59c2ecc3d43762d5a0 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 9 Nov 2010 01:19:17 +0500 Subject: MUC: Preserve the global rooms table through reloads. --- plugins/muc/mod_muc.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index e7c572a3..4f35b985 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -178,7 +178,6 @@ module.save = function() return {rooms = rooms}; end module.restore = function(data) - rooms = {}; for jid, oldroom in pairs(data.rooms or {}) do local room = muc_new_room(jid); room._jid_nick = oldroom._jid_nick; -- cgit v1.2.3