diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs index e413290..094fa6d 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs | |||
@@ -234,6 +234,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
234 | 234 | ||
235 | if (!requestData.ContainsKey("region")) | 235 | if (!requestData.ContainsKey("region")) |
236 | throw new Exception("No region name specified"); | 236 | throw new Exception("No region name specified"); |
237 | region = (string)requestData["region"]; | ||
237 | 238 | ||
238 | foreach (RegionState rs in m_regions) | 239 | foreach (RegionState rs in m_regions) |
239 | { | 240 | { |
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs index c3d017a..2fe36a8 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -342,7 +342,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
342 | if (response.ContentLength == 0) | 342 | if (response.ContentLength == 0) |
343 | throw new Exception(String.Format("{0} returned an empty file", uri.ToString())); | 343 | throw new Exception(String.Format("{0} returned an empty file", uri.ToString())); |
344 | 344 | ||
345 | return new BufferedStream(file, (int) response.ContentLength); | 345 | // return new BufferedStream(file, (int) response.ContentLength); |
346 | return new BufferedStream(file, 1000000); | ||
346 | 347 | ||
347 | } | 348 | } |
348 | 349 | ||