diff options
author | Melanie | 2011-02-02 03:10:39 +0100 |
---|---|---|
committer | Melanie | 2011-02-02 03:10:39 +0100 |
commit | ba39d9f0e65bc43a891871fcddae997ff2e85b31 (patch) | |
tree | 5c66bc9366e7d0e04afff22c36d7be96031ea829 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Fix cm/15627 : Don't block the entire URL on duplicate requests, just that pa... (diff) | |
download | opensim-SC_OLD-ba39d9f0e65bc43a891871fcddae997ff2e85b31.zip opensim-SC_OLD-ba39d9f0e65bc43a891871fcddae997ff2e85b31.tar.gz opensim-SC_OLD-ba39d9f0e65bc43a891871fcddae997ff2e85b31.tar.bz2 opensim-SC_OLD-ba39d9f0e65bc43a891871fcddae997ff2e85b31.tar.xz |
Squash a nullref
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
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 | } |