aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs5
-rw-r--r--OpenSim/Framework/IScene.cs4
2 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index 338604d..6946561 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -35,8 +35,7 @@ using log4net;
35using OpenSim.Framework.Communications.Cache; 35using OpenSim.Framework.Communications.Cache;
36using OpenSim.Framework.Servers; 36using OpenSim.Framework.Servers;
37using OpenSim.Framework; 37using OpenSim.Framework;
38using OpenSim.Region.Environment.Interfaces; 38using OpenSim.Region.Interfaces;
39using OpenSim.Region.Environment.Scenes;
40 39
41namespace OpenSim.Framework.Communications.Capabilities 40namespace OpenSim.Framework.Communications.Capabilities
42{ 41{
@@ -614,7 +613,7 @@ namespace OpenSim.Framework.Communications.Capabilities
614 llsdRequest.asset_type == "sound") 613 llsdRequest.asset_type == "sound")
615 { 614 {
616 IClientAPI client = GetClient(m_agentID); 615 IClientAPI client = GetClient(m_agentID);
617 Scene scene = (Scene)client.Scene; 616 IScene scene = client.Scene;
618 617
619 IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>(); 618 IMoneyModule mm = scene.RequestModuleInterface<IMoneyModule>();
620 619
diff --git a/OpenSim/Framework/IScene.cs b/OpenSim/Framework/IScene.cs
index 82002c2..2cce12f 100644
--- a/OpenSim/Framework/IScene.cs
+++ b/OpenSim/Framework/IScene.cs
@@ -63,5 +63,7 @@ namespace OpenSim.Framework
63 bool PresenceChildStatus(LLUUID avatarID); 63 bool PresenceChildStatus(LLUUID avatarID);
64 64
65 string GetCapsPath(LLUUID agentId); 65 string GetCapsPath(LLUUID agentId);
66
67 T RequestModuleInterface<T>();
66 } 68 }
67} \ No newline at end of file 69}