diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-09 01:19:17 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-09 01:19:17 +0500 |
commit | 366230127ae1ecdd34709b59c2ecc3d43762d5a0 (patch) | |
tree | 01a2c953b446c18bc1c9dd2d536fcfff6272195c | |
parent | 71531236201f61190bc9629ff7bd3f63d5b8a79c (diff) | |
download | prosody-366230127ae1ecdd34709b59c2ecc3d43762d5a0.tar.gz prosody-366230127ae1ecdd34709b59c2ecc3d43762d5a0.zip |
MUC: Preserve the global rooms table through reloads.
-rw-r--r-- | plugins/muc/mod_muc.lua | 1 |
1 files changed, 0 insertions, 1 deletions
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; |