From fc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 1 May 2008 16:41:01 +0000 Subject: * Cleaning code still. --- ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs') diff --git a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs index eaafe6c..2c86fd4 100644 --- a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs +++ b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs @@ -75,7 +75,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy string proxyURL = openSim.ConfigSource.Configs["Network"].GetString("proxy_url", ""); if (proxyURL.Length == 0) return; - uint port = (uint) Int32.Parse(proxyURL.Split(new char[] {':'})[2]); + uint port = (uint) Int32.Parse(proxyURL.Split(new[] {':'})[2]); command_server = new BaseHttpServer(port); command_server.Start(); command_server.AddXmlRPCHandler("AddPort", AddPort); @@ -223,7 +223,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy { m_log = log; running = false; - receivedData = new AsyncCallback(OnReceivedData); + receivedData = OnReceivedData; } public void BlockClientMessages(string regionUrl, int regionPort) @@ -452,7 +452,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy protected class ProxyMap { - private Dictionary map; + private readonly Dictionary map; public ProxyMap() { @@ -494,7 +494,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy public class RegionData { - public bool isBlocked = false; + public bool isBlocked; public List regions = new List(); public Queue storedMessages = new Queue(); } -- cgit v1.1