diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/XMLRPCModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/XMLRPCModule.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs index 762e76d..edd1df8 100644 --- a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs +++ b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs | |||
@@ -188,6 +188,24 @@ namespace OpenSim.Region.Environment.Modules | |||
188 | return channel; | 188 | return channel; |
189 | } | 189 | } |
190 | 190 | ||
191 | public void DeleteChannel(LLUUID itemID) | ||
192 | { | ||
193 | |||
194 | foreach (RPCChannelInfo li in m_openChannels.Values) | ||
195 | { | ||
196 | |||
197 | if (li.GetItemID().Equals(itemID)) | ||
198 | { | ||
199 | |||
200 | m_openChannels.Remove(li.GetChannelID()); | ||
201 | return; | ||
202 | |||
203 | } | ||
204 | |||
205 | } | ||
206 | |||
207 | } | ||
208 | |||
191 | /********************************************** | 209 | /********************************************** |
192 | * Remote Data Reply | 210 | * Remote Data Reply |
193 | * | 211 | * |
@@ -408,5 +426,6 @@ namespace OpenSim.Region.Environment.Modules | |||
408 | { | 426 | { |
409 | return m_localID; | 427 | return m_localID; |
410 | } | 428 | } |
429 | |||
411 | } | 430 | } |
412 | } | 431 | } |