diff options
author | Jeff Ames | 2008-03-19 09:36:13 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-19 09:36:13 +0000 |
commit | a0e1be3280e4be49cf0ca8d211b97ef8c1ddee2f (patch) | |
tree | be64babdd6f1bcb2a946d637b81739445facdd31 /OpenSim/Framework/RegionInfo.cs | |
parent | * Add a large amount of extra locking to m_parts in SceneObjectGroup (diff) | |
download | opensim-SC_OLD-a0e1be3280e4be49cf0ca8d211b97ef8c1ddee2f.zip opensim-SC_OLD-a0e1be3280e4be49cf0ca8d211b97ef8c1ddee2f.tar.gz opensim-SC_OLD-a0e1be3280e4be49cf0ca8d211b97ef8c1ddee2f.tar.bz2 opensim-SC_OLD-a0e1be3280e4be49cf0ca8d211b97ef8c1ddee2f.tar.xz |
Fixed some comparisons of LLUUIDs to null.
Thanks to DrSchofld for pointing this out.
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 03db1a6..76ae1ba 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -359,7 +359,7 @@ namespace OpenSim.Framework | |||
359 | 359 | ||
360 | public bool shouldMasterAvatarDetailsBeAsked(string configuration_key) | 360 | public bool shouldMasterAvatarDetailsBeAsked(string configuration_key) |
361 | { | 361 | { |
362 | if (MasterAvatarAssignedUUID.Equals(null) || MasterAvatarAssignedUUID.ToString() == LLUUID.Zero.ToString()) | 362 | if (MasterAvatarAssignedUUID == LLUUID.Zero) |
363 | { | 363 | { |
364 | return true; | 364 | return true; |
365 | } | 365 | } |