Squash a nullref
parent
e5ef993f2b
commit
ba39d9f0e6
|
@ -2555,6 +2555,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
*/
|
||||
UserAccount uac = UserAccountService.GetUserAccount(RegionInfo.ScopeID, user);
|
||||
if (uac == null)
|
||||
return 0;
|
||||
return uac.UserFlags;
|
||||
//}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue