aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Scripting
diff options
context:
space:
mode:
authorJeff Ames2008-05-28 03:44:49 +0000
committerJeff Ames2008-05-28 03:44:49 +0000
commit5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch)
treeea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/Region/Environment/Modules/Scripting
parentThank you kindly, Melanie for a patch that: (diff)
downloadopensim-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 'OpenSim/Region/Environment/Modules/Scripting')
-rw-r--r--OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs6
-rw-r--r--OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs4
2 files changed, 5 insertions, 5 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
diff --git a/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs b/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs
index aa7a20f..79cd151 100644
--- a/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs
+++ b/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs
@@ -160,9 +160,9 @@ namespace OpenSim.Region.Environment.Modules.Scripting.XMLRPC
160 * 160 *
161 * Generate a LLUUID channel key and add it and 161 * Generate a LLUUID channel key and add it and
162 * the prim id to dictionary <channelUUID, primUUID> 162 * the prim id to dictionary <channelUUID, primUUID>
163 * 163 *
164 * A custom channel key can be proposed. 164 * A custom channel key can be proposed.
165 * Otherwise, passing LLUUID.Zero will generate 165 * Otherwise, passing LLUUID.Zero will generate
166 * and return a random channel 166 * and return a random channel
167 * 167 *
168 * First check if there is a channel assigned for 168 * First check if there is a channel assigned for