From 20a9bf08f51351e1e0a9de94f184ff56cd572665 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 1 May 2008 18:04:42 +0000 Subject: * Rolled back a few changes. --- ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ThirdParty/3Di/RegionProxy') diff --git a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs index 2c86fd4..eaafe6c 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[] {':'})[2]); + uint port = (uint) Int32.Parse(proxyURL.Split(new char[] {':'})[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 = OnReceivedData; + receivedData = new AsyncCallback(OnReceivedData); } public void BlockClientMessages(string regionUrl, int regionPort) @@ -452,7 +452,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy protected class ProxyMap { - private readonly Dictionary map; + private Dictionary map; public ProxyMap() { @@ -494,7 +494,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy public class RegionData { - public bool isBlocked; + public bool isBlocked = false; public List regions = new List(); public Queue storedMessages = new Queue(); } -- cgit v1.1