Fixed user rights bug

This commit is contained in:
lukeIam authored and Florian Küpper committed 2013-12-26 13:07:25 +01:00
1 parent d24551459f
commit f2b30d0952
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)