diff options
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 | } |