aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
index dd40a32..9ad467e 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
@@ -413,7 +413,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
413 } 413 }
414 } 414 }
415 415
416 static private Vector3 pos = new Vector3(128, 128, 20); 416 static private Vector3 CenterOfRegion = new Vector3(128, 128, 20);
417 public void ListenerRun() 417 public void ListenerRun()
418 { 418 {
419 string inputLine; 419 string inputLine;
@@ -435,7 +435,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
435 OSChatMessage c = new OSChatMessage(); 435 OSChatMessage c = new OSChatMessage();
436 c.Message = data["msg"]; 436 c.Message = data["msg"];
437 c.Type = ChatTypeEnum.Region; 437 c.Type = ChatTypeEnum.Region;
438 c.Position = pos; 438 c.Position = CenterOfRegion;
439 c.Channel = m_relayPrivateChannels ? m_relayChannel : 0; 439 c.Channel = m_relayPrivateChannels ? m_relayChannel : 0;
440 c.From = data["nick"]; 440 c.From = data["nick"];
441 c.Sender = null; 441 c.Sender = null;
@@ -487,7 +487,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
487 c.Message = String.Format(format, args); 487 c.Message = String.Format(format, args);
488 c.Type = ChatTypeEnum.Region; // ChatTypeEnum.Say; 488 c.Type = ChatTypeEnum.Region; // ChatTypeEnum.Say;
489 c.Channel = m_relayPrivateChannels ? m_relayChannel : 0; 489 c.Channel = m_relayPrivateChannels ? m_relayChannel : 0;
490 c.Position = new Vector3(128, 128, 20); 490 c.Position = CenterOfRegion;
491 c.Sender = null; 491 c.Sender = null;
492 c.SenderUUID = UUID.Zero; 492 c.SenderUUID = UUID.Zero;
493 493