O’Reilly Automotive Stores Inc. can’t be held liable for harassment a delivery driver says she faced at the hands of a customer, a federal judge ruled.

The same standard that is used to evaluate co-worker harassment claims under Title VII of the 1964 Civil Rights Act is also used when an employee allegedly was harassed by a client or customer of their employer, the U.S. District Court for the Northern District of Oklahoma said Feb. 19. To establish liability, the worker must show the employer was or should have been aware of the customer’s harassment and failed to adequately address...