diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | 10 |
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, |