aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie2013-06-06 03:20:15 +0100
committerMelanie2013-06-06 03:20:15 +0100
commitfe4a67efb6f54cad3f00884712abe03704216421 (patch)
tree04de93aaa8e9430c7c33e15912b3683b0297a10a /OpenSim/Region/CoreModules/Avatar
parentMerge branch 'master' into careminster (diff)
parentUpdate HTTP server (diff)
downloadopensim-SC-fe4a67efb6f54cad3f00884712abe03704216421.zip
opensim-SC-fe4a67efb6f54cad3f00884712abe03704216421.tar.gz
opensim-SC-fe4a67efb6f54cad3f00884712abe03704216421.tar.bz2
opensim-SC-fe4a67efb6f54cad3f00884712abe03704216421.tar.xz
Merge branch 'avination-current' into careminster
Conflicts: OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs OpenSim/Region/Framework/Interfaces/IDynamicMenuModule.cs OpenSim/Region/OptionalModules/ViewerSupport/DynamicMenuModule.cs OpenSim/Region/OptionalModules/World/MoneyModule/SampleMoneyModule.cs
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
index d22f3f4..5b12ecb 100644
--- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
@@ -65,9 +65,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
65 protected Scene m_scene; 65 protected Scene m_scene;
66 protected IDialogModule m_dialogModule; 66 protected IDialogModule m_dialogModule;
67 67
68 protected Dictionary<UUID, string> m_capsDict =
69 new Dictionary<UUID, string>();
70
71 protected IDialogModule DialogModule 68 protected IDialogModule DialogModule
72 { 69 {
73 get 70 get
@@ -89,7 +86,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
89 m_scene.RegisterModuleInterface<IGodsModule>(this); 86 m_scene.RegisterModuleInterface<IGodsModule>(this);
90 m_scene.EventManager.OnNewClient += SubscribeToClientEvents; 87 m_scene.EventManager.OnNewClient += SubscribeToClientEvents;
91 m_scene.EventManager.OnRegisterCaps += OnRegisterCaps; 88 m_scene.EventManager.OnRegisterCaps += OnRegisterCaps;
92 m_scene.EventManager.OnClientClosed += OnClientClosed;
93 scene.EventManager.OnIncomingInstantMessage += 89 scene.EventManager.OnIncomingInstantMessage +=
94 OnIncomingInstantMessage; 90 OnIncomingInstantMessage;
95 } 91 }
@@ -125,15 +121,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
125 client.OnRequestGodlikePowers -= RequestGodlikePowers; 121 client.OnRequestGodlikePowers -= RequestGodlikePowers;
126 } 122 }
127 123
128 private void OnClientClosed(UUID agentID, Scene scene)
129 {
130 m_capsDict.Remove(agentID);
131 }
132
133 private void OnRegisterCaps(UUID agentID, Caps caps) 124 private void OnRegisterCaps(UUID agentID, Caps caps)
134 { 125 {
135 string uri = "/CAPS/" + UUID.Random(); 126 string uri = "/CAPS/" + UUID.Random();
136 m_capsDict[agentID] = uri;
137 127
138 caps.RegisterHandler("UntrustedSimulatorMessage", 128 caps.RegisterHandler("UntrustedSimulatorMessage",
139 new RestStreamHandler("POST", uri, 129 new RestStreamHandler("POST", uri,