diff options
author | Dr Scofield | 2008-10-21 17:45:18 +0000 |
---|---|---|
committer | Dr Scofield | 2008-10-21 17:45:18 +0000 |
commit | d0cc1934567b5cf0bee6df4d499977fd518c633a (patch) | |
tree | 2b25b15ec2b56d79e94d1af3e04dedbfb390711d | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-d0cc1934567b5cf0bee6df4d499977fd518c633a.zip opensim-SC-d0cc1934567b5cf0bee6df4d499977fd518c633a.tar.gz opensim-SC-d0cc1934567b5cf0bee6df4d499977fd518c633a.tar.bz2 opensim-SC-d0cc1934567b5cf0bee6df4d499977fd518c633a.tar.xz |
cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs | 6 |
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 | ||