Two people who were hurt in a car accident after attending a rave in Montgomery County, Pa., can’t sue the hosts of the party for allegedly encouraging the use of illegal drugs and advertising the rave using drug-related terminology, the Pennsylvania Superior Court has ruled.

The appeals court said Kanika Looby and Paul Caparatto could not prove that hosts of the party were “social hosts” as defined by law.