Squash a nullref

This commit is contained in:
Melanie
2011-02-02 03:10:39 +01:00
parent e5ef993f2b
commit ba39d9f0e6

View File

@@ -2555,6 +2555,8 @@ namespace OpenSim.Region.Framework.Scenes
{
*/
UserAccount uac = UserAccountService.GetUserAccount(RegionInfo.ScopeID, user);
if (uac == null)
return 0;
return uac.UserFlags;
//}
}