mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* OMG! All but one references to UserProfileCacheService have been rerouted!
* HG is seriously broken here * Compiles. Untested.
This commit is contained in:
@@ -214,8 +214,8 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
|
||||
{
|
||||
Scene scene = (Scene)client.Scene;
|
||||
|
||||
CachedUserInfo profile = scene.CommsManager.UserProfileCacheService.GetUserDetails(client.AgentId);
|
||||
if (profile == null) // Deny unknown user
|
||||
ScenePresence sp = scene.GetScenePresence(client.AgentId);
|
||||
if (sp == null) // Deny unknown user
|
||||
return;
|
||||
|
||||
IInventoryService invService = scene.InventoryService;
|
||||
|
||||
Reference in New Issue
Block a user