diff options
author | Diva Canto | 2012-12-04 08:08:58 -0800 |
---|---|---|
committer | Diva Canto | 2012-12-04 08:08:58 -0800 |
commit | a4821c5e01da394ba0968e6206a52f4db45cd7bd (patch) | |
tree | 68dae4719fe4100ce272ba7e9cd07018052c825b /OpenSim/Region/ScriptEngine | |
parent | Improvement in HGInstantMessageService: account for the existence of an offli... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-a4821c5e01da394ba0968e6206a52f4db45cd7bd.zip opensim-SC-a4821c5e01da394ba0968e6206a52f4db45cd7bd.tar.gz opensim-SC-a4821c5e01da394ba0968e6206a52f4db45cd7bd.tar.bz2 opensim-SC-a4821c5e01da394ba0968e6206a52f4db45cd7bd.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index acf4d8c..4108588 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6856,6 +6856,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6856 | public void llCloseRemoteDataChannel(string channel) | 6856 | public void llCloseRemoteDataChannel(string channel) |
6857 | { | 6857 | { |
6858 | m_host.AddScriptLPS(1); | 6858 | m_host.AddScriptLPS(1); |
6859 | |||
6860 | IXmlRpcRouter xmlRpcRouter = m_ScriptEngine.World.RequestModuleInterface<IXmlRpcRouter>(); | ||
6861 | if (xmlRpcRouter != null) | ||
6862 | { | ||
6863 | xmlRpcRouter.UnRegisterReceiver(channel, m_item.ItemID); | ||
6864 | } | ||
6865 | |||
6859 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); | 6866 | IXMLRPC xmlrpcMod = m_ScriptEngine.World.RequestModuleInterface<IXMLRPC>(); |
6860 | xmlrpcMod.CloseXMLRPCChannel((UUID)channel); | 6867 | xmlrpcMod.CloseXMLRPCChannel((UUID)channel); |
6861 | ScriptSleep(1000); | 6868 | ScriptSleep(1000); |