diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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) |