plugins/muc/muc.lib.lua
changeset 7363 7a37fade5380
parent 7356 ca31d3271cf8
child 7365 032fcb7b80a1
equal deleted inserted replaced
7360:d69521003e91 7363:7a37fade5380
  1233 		};
  1233 		};
  1234 		_affiliations = {};
  1234 		_affiliations = {};
  1235 	}, room_mt);
  1235 	}, room_mt);
  1236 end
  1236 end
  1237 
  1237 
       
  1238 function room_mt:freeze()
       
  1239 	return {
       
  1240 		jid = self.jid;
       
  1241 		_data = self._data;
       
  1242 		_affiliations = self._affiliations;
       
  1243 	}
       
  1244 end
       
  1245 
  1238 _M.room_mt = room_mt;
  1246 _M.room_mt = room_mt;
  1239 
  1247 
  1240 return _M;
  1248 return _M;