Merge pull request #89 from lukeIam/develop

Fixed user rights bug
This commit is contained in:
Stephan Sundermann committed 2013-12-24 03:50:32 -08:00
commit 4e132f5b1f
1 file changed
+2 -2
+2 -2
View File
@@ -678,9 +678,9 @@ namespace Vocaluxe.Base.Server
}
//Hide TR_USERROLE_GUEST and TR_USERROLE_NORMAL
const EUserRole mask = (EUserRole.TR_USERROLE_GUEST | EUserRole.TR_USERROLE_NORMAL);
//const EUserRole mask = (EUserRole.TR_USERROLE_GUEST | EUserRole.TR_USERROLE_NORMAL);
return (int)(profile.UserRole & ~mask);
return (int)(profile.UserRole);
}
private static void _SetUserRole(int profileId, int userRole)