aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2011-02-02 03:10:39 +0100
committerMelanie2011-02-02 03:10:39 +0100
commitba39d9f0e65bc43a891871fcddae997ff2e85b31 (patch)
tree5c66bc9366e7d0e04afff22c36d7be96031ea829
parentFix cm/15627 : Don't block the entire URL on duplicate requests, just that pa... (diff)
downloadopensim-SC-ba39d9f0e65bc43a891871fcddae997ff2e85b31.zip
opensim-SC-ba39d9f0e65bc43a891871fcddae997ff2e85b31.tar.gz
opensim-SC-ba39d9f0e65bc43a891871fcddae997ff2e85b31.tar.bz2
opensim-SC-ba39d9f0e65bc43a891871fcddae997ff2e85b31.tar.xz
Squash a nullref
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c65a82b..2424194 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2555,6 +2555,8 @@ namespace OpenSim.Region.Framework.Scenes
2555 { 2555 {
2556 */ 2556 */
2557 UserAccount uac = UserAccountService.GetUserAccount(RegionInfo.ScopeID, user); 2557 UserAccount uac = UserAccountService.GetUserAccount(RegionInfo.ScopeID, user);
2558 if (uac == null)
2559 return 0;
2558 return uac.UserFlags; 2560 return uac.UserFlags;
2559 //} 2561 //}
2560 } 2562 }