aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/HGCommands.cs2
-rw-r--r--OpenSim/Region/Application/OpenSim.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/HGCommands.cs b/OpenSim/Region/Application/HGCommands.cs
index a863697..5b99d7d 100644
--- a/OpenSim/Region/Application/HGCommands.cs
+++ b/OpenSim/Region/Application/HGCommands.cs
@@ -47,7 +47,7 @@ namespace OpenSim
47 public static Scene CreateScene(RegionInfo regionInfo, AgentCircuitManager circuitManager, 47 public static Scene CreateScene(RegionInfo regionInfo, AgentCircuitManager circuitManager,
48 StorageManager storageManager, ModuleLoader m_moduleLoader, ConfigSettings m_configSettings, OpenSimConfigSource m_config, string m_version) 48 StorageManager storageManager, ModuleLoader m_moduleLoader, ConfigSettings m_configSettings, OpenSimConfigSource m_config, string m_version)
49 { 49 {
50 HGSceneCommunicationService sceneGridService = new HGSceneCommunicationService(); 50 SceneCommunicationService sceneGridService = new SceneCommunicationService();
51 51
52 return 52 return
53 new HGScene( 53 new HGScene(
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 9f5e173..546a1d1 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -414,7 +414,7 @@ namespace OpenSim
414 414
415 foreach (ScenePresence presence in agents) 415 foreach (ScenePresence presence in agents)
416 { 416 {
417 RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); 417 RegionInfo regionInfo = presence.Scene.RegionInfo;
418 418
419 if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && 419 if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) &&
420 presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) 420 presence.Lastname.ToLower().Contains(cmdparams[3].ToLower()))
@@ -908,7 +908,7 @@ namespace OpenSim
908 908
909 foreach (ScenePresence presence in agents) 909 foreach (ScenePresence presence in agents)
910 { 910 {
911 RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); 911 RegionInfo regionInfo = presence.Scene.RegionInfo;
912 string regionName; 912 string regionName;
913 913
914 if (regionInfo == null) 914 if (regionInfo == null)