diff options
author | Jeff Ames | 2008-05-28 03:44:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-28 03:44:49 +0000 |
commit | 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch) | |
tree | ea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs index 3294049..4afbdc4 100644 --- a/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs +++ b/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs | |||
@@ -569,7 +569,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.WorldComm | |||
569 | { | 569 | { |
570 | foreach (ListenerInfo l in list) | 570 | foreach (ListenerInfo l in list) |
571 | { | 571 | { |
572 | if(l.GetItemID() == itemID) | 572 | if (l.GetItemID() == itemID) |
573 | data.AddRange(l.GetSerializationData()); | 573 | data.AddRange(l.GetSerializationData()); |
574 | } | 574 | } |
575 | } | 575 | } |
@@ -582,14 +582,14 @@ namespace OpenSim.Region.Environment.Modules.Scripting.WorldComm | |||
582 | int idx = 0; | 582 | int idx = 0; |
583 | Object[] item = new Object[6]; | 583 | Object[] item = new Object[6]; |
584 | 584 | ||
585 | while(idx < data.Length) | 585 | while (idx < data.Length) |
586 | { | 586 | { |
587 | Array.Copy(data, idx, item, 0, 6); | 587 | Array.Copy(data, idx, item, 0, 6); |
588 | 588 | ||
589 | ListenerInfo info = | 589 | ListenerInfo info = |
590 | ListenerInfo.FromData(localID, itemID, hostID, item); | 590 | ListenerInfo.FromData(localID, itemID, hostID, item); |
591 | 591 | ||
592 | if(!m_listeners.ContainsKey((int)item[2])) | 592 | if (!m_listeners.ContainsKey((int)item[2])) |
593 | m_listeners.Add((int)item[2], new List<ListenerInfo>()); | 593 | m_listeners.Add((int)item[2], new List<ListenerInfo>()); |
594 | m_listeners[(int)item[2]].Add(info); | 594 | m_listeners[(int)item[2]].Add(info); |
595 | 595 | ||