aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/ChatModule.cs4
-rw-r--r--OpenSim/Region/Environment/Modules/SunModule.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/XMLRPCModule.cs2
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs
index d5edc6d..a78e4f6 100644
--- a/OpenSim/Region/Environment/Modules/ChatModule.cs
+++ b/OpenSim/Region/Environment/Modules/ChatModule.cs
@@ -67,7 +67,7 @@ namespace OpenSim.Region.Environment.Modules
67 m_saydistance = config.Configs["Chat"].GetInt("say_distance", m_saydistance); 67 m_saydistance = config.Configs["Chat"].GetInt("say_distance", m_saydistance);
68 m_shoutdistance = config.Configs["Chat"].GetInt("shout_distance", m_shoutdistance); 68 m_shoutdistance = config.Configs["Chat"].GetInt("shout_distance", m_shoutdistance);
69 } 69 }
70 catch (Exception e) 70 catch (Exception)
71 { 71 {
72 } 72 }
73 73
@@ -304,7 +304,7 @@ namespace OpenSim.Region.Environment.Modules
304 m_enabled = true; 304 m_enabled = true;
305 } 305 }
306 } 306 }
307 catch (Exception e) 307 catch (Exception)
308 { 308 {
309 Console.WriteLine("No IRC config information, skipping IRC bridge configuration"); 309 Console.WriteLine("No IRC config information, skipping IRC bridge configuration");
310 } 310 }
diff --git a/OpenSim/Region/Environment/Modules/SunModule.cs b/OpenSim/Region/Environment/Modules/SunModule.cs
index 3598798..c941b1e 100644
--- a/OpenSim/Region/Environment/Modules/SunModule.cs
+++ b/OpenSim/Region/Environment/Modules/SunModule.cs
@@ -59,7 +59,7 @@ namespace OpenSim.Region.Environment.Modules
59 try { 59 try {
60 m_day_length = config.Configs["Sun"].GetDouble("day_length", 0.5); 60 m_day_length = config.Configs["Sun"].GetDouble("day_length", 0.5);
61 m_frame_mod = config.Configs["Sun"].GetInt("frame_rate", 100); 61 m_frame_mod = config.Configs["Sun"].GetInt("frame_rate", 100);
62 } catch (Exception e) { 62 } catch (Exception) {
63 m_day_length = 0.5; 63 m_day_length = 0.5;
64 m_frame_mod = 100; 64 m_frame_mod = 100;
65 } 65 }
diff --git a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs
index 434c92f..1223f5c 100644
--- a/OpenSim/Region/Environment/Modules/XMLRPCModule.cs
+++ b/OpenSim/Region/Environment/Modules/XMLRPCModule.cs
@@ -153,7 +153,7 @@ namespace OpenSim.Region.Environment.Modules
153 } 153 }
154 } 154 }
155 155
156 if ((channel == null) || (channel.Equals(LLUUID.Zero))) 156 if ((channel.Equals(null)) || (channel.Equals(LLUUID.Zero)))
157 { 157 {
158 channel = LLUUID.Random(); 158 channel = LLUUID.Random();
159 RPCChannelInfo rpcChanInfo = new RPCChannelInfo(localID, itemID, channel); 159 RPCChannelInfo rpcChanInfo = new RPCChannelInfo(localID, itemID, channel);